You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Bug 1827989 [wpt PR 39530] - Add support for different X&Y blurs for dropShadow CanvasFilter., a=testonly
Automatic update from web-platform-tests
Add support for different X&Y blurs for dropShadow CanvasFilter.
This aligns the CanvasFilter dropShadow implementation with SVG,
which supports separable X & Y blurs:
https://drafts.fxtf.org/filter-effects/#feDropShadowElement
Note that SVG's `color-interpolation-filters` attribute defaults to
`linearRBG`, whereas all other interpolations, as configured by
`color-interpolation`, default to `sRGB`:
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/color-interpolation-filters
It's unclear at this point which default CanvasFilter should use.
In the mean time, we must manually set `color-interpolation-filters`
to `sRGB` in the WPT test or else, the CanvasFilter and SVG filters
won't produce the same results.
Change-Id: I3ed1546a901fe3ab2752bc9feff04f9f67018390
Bug: 1428652
Fixed: 1430524
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4415135
Reviewed-by: Aaron Krajeski <[email protected]>
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: Jean-Philippe Gravel <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1131422}
--
wpt-commits: 09a5492c48f7cfa03774c6f050af9fe4bdbfc356
wpt-pr: 39530
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.dropShadow.exceptions.tentative.html
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.dropShadow.tentative-expected.html
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/canvas/element/filters/2d.filter.canvasFilterObject.dropShadow.tentative.html
0 commit comments