Bug 205798

Summary: Meta color-scheme does not set the root element color-scheme property
Product: WebKit Reporter: Rune Lillesveen <rune.lillesveen>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: mike, ntim, thorton, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.14   

Rune Lillesveen
Reported 2020-01-06 06:32:54 PST
According to [1], setting color-scheme with the meta element sets a presentational hint on the root element which should cause the computed value of the root element to be affected. The computed value for the root element is always 'auto' in WebKit. This causes a bunch of wpt failures in https://wpt.fyi/results/css/css-color-adjust/meta [1] https://drafts.csswg.org/css-color-adjust-1/#color-scheme-meta
Attachments
Radar WebKit Bug Importer
Comment 1 2020-01-07 14:39:34 PST
Rune Lillesveen
Comment 3 2022-10-17 01:04:27 PDT
The spec changed after I reported this issue. The meta element no longer sets presentation attributes. This is probably a Wontfix.
Note You need to log in before you can comment on or make changes to this bug.