Closed Bug 1630363 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 22978 - Invalidate paint when used color-scheme changes.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Invalidate paint when used color-scheme changes.

When color-scheme affects other CSS properties, invalidation diffing
those properties are sufficient. However, some parts of UA rendered UI
elements are painted based on colors not defined in CSS. Invalidate
paint when the used color-scheme value changes so that such elements are
properly repainted on color-scheme changes.

Bug: 929098
Change-Id: Icedafd9fa1d787b4db64e6d698ecfcdc144a4ec7
Reviewed-on: https://chromium-review.googlesource.com/2150905
WPT-Export-Revision: 7f5801a13e2da077bcbe2cc37e17ca9a24cb775e

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2391f954490 [wpt PR 22978] - Invalidate paint when used color-scheme changes., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.