Skip to content

[css-color-adjust-1] User origin !important vs. forced colors mode #4020

Closed
@andruud

Description

@andruud

So let's say I have a user stylesheet:

color: red !important;

In forced colors mode, what applies? The spec says revert !important is added to the cascade at the user level (when?), which may or may not win over my red !important.

I don't think it's enough to state that the value is added at the user level. Clearly we need revert !very important.

cc @fantasai, @lilles

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