| commit | 833d2100d38c8656a28bb72109f07aa5158e9f9c | [log] [tgz] |
|---|---|---|
| author | Aaron Krajeski <aaronhk@chromium.org> | Mon Aug 30 19:59:01 2021 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 30 19:59:01 2021 |
| tree | a6b7f968181efb47d3175e2b0ca8b65a1c4af5ad | |
| parent | 503e7d7137b311c92c1f7407d721a1d4d1eda696 [diff] |
Make canvas filter input a flat dictionary
As initially specced, CanvasFilter inputs had a single key that was the
name of the filter:
ctx.filter = new CanvasFilter({gaussianBlur: {stdDeviation: 5}});
As the result of the debate here
(https://github.com/whatwg/html/pull/6763) the interface is changed to
have a "filter" key that names the filter type:
ctx.filter = new CanvasFilter(
{filter: "gaussianBlur", stdDeviation: 5});
Bug: 1169216
Change-Id: If3fdd9185c1f02dd2dece7db0c92aba76f2d97e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3098009
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#916494}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.