W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Mar 2020 03:51:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-595587223-1583466686-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC