Closed Bug 2080452 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63433 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324766

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 63433 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63433
Details from upstream follow.

Andrew Martinez <amartinez55@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324766

WebKit export from bug: Elements using background image from currentColor doesn't repaint when current color changes

<pre>
Elements using background image from currentColor doesn't repaint when current color changes

isEquivalentForPainting() only checked background-color for currentColor. currentColors inside background images, like linear-gradient()
did not trigger repaints when the objects changed.

Style::Image::containsCurrentColor() now checks for currentColors in gradients, image, crossfade, filter, and image-set.
Every background layer is checked in BackgroundData::backgroundContainsCurrentColor().

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=324766">https://bugs.webkit.org/show_bug.cgi?id=324766</a>
</pre>

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 874 tests

Status Summary

Firefox

OK : 130[Gecko-linux2404-64-debug] 132[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 14[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5974[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 6639[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 6644[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 6645[Gecko-linux2404-64-debug] 6647[Gecko-linux2404-64-opt]
FAIL: 259[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 308[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 313[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: