Bug 205798 - Meta color-scheme does not set the root element color-scheme property
Summary: Meta color-scheme does not set the root element color-scheme property
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-06 06:32 PST by Rune Lillesveen
Modified: 2023-09-15 21:54 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rune Lillesveen 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
Comment 1 Radar WebKit Bug Importer 2020-01-07 14:39:34 PST
<rdar://problem/58388532>
Comment 3 Rune Lillesveen 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.