Re: [csswg-drafts] [css-color-adjust-1] User origin !important vs. forced colors mode (#4020)

Yeah, you're right, this isn't specified quite correctly. It reverts everything in the author origin as intended, but also reverts everything in the user origin as well. For it to work as intended (preserving user styles), we'd need to have an origin between user and author.

We kindof already have this, in the form of the "non-CSS presentation hints" layer. If we turn that into a real origin and give it a corresponding !important level, then we can inject these rules into that origin and they should work as intended.

Agenda+ to discuss.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4020#issuecomment-595587223 using your GitHub account

Received on Friday, 6 March 2020 03:51:29 UTC