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: Mon, 27 Jul 2020 23:32:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-664690743-1595892725-sysbot+gh@w3.org>
Our previous discussions on this suggested that we needed more than a single additional layer, but that we could generally solve each individual use-case with *three* built-in layers - "defaults", "normal", and "override" (along with their inverted !important versions). 

I think we also definitely still need to address the "scoping" of 3rd-party stuff, so they can use layers for their own purposes without necessarily having an effect on your layer usage. The important thing about providing predefined layers is that it allows us to reasonably do *non*-scoped stuff without complicated aliasing mechanisms (which custom names/ordering would require).

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4969#issuecomment-664690743 using your GitHub account
Received on Monday, 27 July 2020 23:32:08 UTC

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