Skip to content

[css-color-adjust] Used color-scheme should affect the root element color, not initial color #4608

Description

@lilles

The current spec draft says in chapter 2 that the following must match the users preferred color-scheme:

"the initial color of the background canvas find what we name this in other specs, the initial value of the color property, and the system colors".

For the color property, this does not match what Safari, and Chrome behind a flag, implements. Instead there is a UA rule setting a system color for the root element whose used value depends on the used value of color-scheme. Both implementations have a used value for color:initial of black (as per the css-color spec) regardless of color-scheme.

Proposal: change the spec to say that the color is a system color(?) set on the root element for UA style whose used value is based on the used color-scheme.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions