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

Re: [csswg-drafts] [css-cascade] What are the proper "levels" for managing Cascade Layers? (#4969)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Jul 2020 00:00:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-664698779-1595894448-sysbot+gh@w3.org>
> (along with their inverted !important versions).

I keep doing this in my head, but per Emilio's concern about doing layers as specificity vs origins, I don't actually quite mean this. ^_^  (That is, I'm pretty sure layers need to be done as a new specificity value, stronger than all the existing ones.)

It *might* be useful to have layers invert their ordering in !important, tho, so "base" styles can put themselves in the highest position when necessary.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4969#issuecomment-664698779 using your GitHub account
Received on Tuesday, 28 July 2020 00:00:50 UTC

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