NEW312191
Re-evaluate prefers-color-scheme of embedded document when embedder element color scheme changes.
https://bugs.webkit.org/show_bug.cgi?id=312191
Summary Re-evaluate prefers-color-scheme of embedded document when embedder element c...
Kiet Ho
Reported 2026-04-13 14:26:45 PDT
Bug 309611 will make prefers-color-scheme look at the color scheme of the embedder element and its ancestors. But currently we don't invalidate the style of embedded document when the color scheme of the embedder element changes. For example: <iframe style=color-scheme: dark> <iframe> <iframe> <html> If the outermost iframe changes its color-scheme, it seems WebKit doesn't pick up the change and re-evaluate prefers-color-scheme of the innermost document.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-13 14:26:53 PDT
Note You need to log in before you can comment on or make changes to this bug.