WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
312191
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-13 14:26:53 PDT
<
rdar://problem/174687101
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug