[wpt-sync] Sync PR 42003 - Fix 'currentcolor' handling for drop-shadow(...) filter functions
Categories
(Core :: Web Painting, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42003 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42003
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Fix 'currentcolor' handling for drop-shadow(...) filter functions
For drop-shadow(), the 'currentcolor' keyword was resolved at style
resolution time by FilterOperationResolver. This means that it was baked
into style, and couldn't respond to a change in color.Instead preserve the keyword in the FilterOperation and let the
FilterEffectBuilder resolve the color if needed. Add infrastructure to
FilterOperation/s to determine if a filter chain depends on
'currentcolor' to allow invalidation of the filter chain when the color
changes.Bug: 1469327
Change-Id: I81bd0324637f1c1111add5d74c58418f205c3c77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4863914
Reviewed-by: Xianzhu Wang \<wangxianzhu@chromium.org>
Commit-Queue: Fredrik Söderquist \<fs@opera.com>
Reviewed-by: Fernando Serboncini \<fserb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1199067}
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•