[wpt-sync] Sync PR 32221 - Fix CSS gradient invalidation when currentColor changes.
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32221 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32221
Details from upstream follow.
Steinar H. Gunderson <sesse@chromium.org> wrote:
Fix CSS gradient invalidation when currentColor changes.
When checking whether to invalidate an item, we check if the old and new
backgrounds are “visually equal” by asking its type. However, gradients
would just check that all stops are specified equally, disregarding that
the old currentColor could be different from the new currentColor.Thus, add a check that if the background depends on currentColor
(ie., it is a gradient that has currentColor as at least one stop),
and currentColor has changed, we need to invalidate the background.Fixed: 595467
Change-Id: Ia2434aa90217352408791547f4c03a96265db909
Reviewed-on: https://chromium-review.googlesource.com/3353486
WPT-Export-Revision: bd61c86c8272b70ac223e5cac5de8b3cdc21fc09
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=3443655366caeeb4122e888c21e938302a77c074
Assignee | ||
Comment 2•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4957f2be8c0d6d67c1301cf2478b4c041d50f578
Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Status Summary
Firefox
PASS: 3
FAIL: 1
Chrome
FAIL: 4
Safari
PASS: 3
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/css/css-backgrounds/background-image-gradient-currentcolor-visited.html: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/852c8afd56f9 [wpt PR 32221] - Fix CSS gradient invalidation when currentColor changes., a=testonly https://hg.mozilla.org/integration/autoland/rev/7999b37bde2f [wpt PR 32221] - Update wpt metadata, a=testonly
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/852c8afd56f9
https://hg.mozilla.org/mozilla-central/rev/7999b37bde2f
Description
•