github web-platform-tests/wpt merge_pr_48024

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
3 months ago

Fixed preferred color-scheme changes based on embedder color-scheme

When the preferred color-scheme changes as a result of propagating the
preferred scheme set by the embedder without changing the preferred
color-scheme setting, media queries were not updated.

Call Document::ColorSchemeChanged() to ensure media queries are also
updated.

Fixes NTP invalidation issue.

Bug: 364340032
Change-Id: Ie6f2dbdd76f7370414b9a56709fd2bd66be4f589
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5841771
Commit-Queue: Rune Lillesveen futhark@chromium.org
Reviewed-by: Stefan Zager szager@chromium.org
Cr-Commit-Position: refs/heads/main@{#1352336}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.