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

Re: [csswg-drafts] [css-cascade] Where do Cascade Layers fit in the cascade? (#5003)

From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Nov 2020 19:42:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-729158549-1605642168-sysbot+gh@w3.org>
The [working proposal](https://gist.github.com/mirisuzanne/4224caca74a0d4be33a2b565df34b9e7#where-do-cascade-layers-fit-in-the-cascade-5003) for adding layers to the cascade sort order is:

1. Origins & Importance
2. Context (eg Shadow DOM)
3. **Layers**
4. Specificity
5. Source Order

This avoids a lot of implementation complexity around Shadow DOM context, while still giving authors a way to group and layer selectors at a level above specificity.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 17 November 2020 19:42:50 UTC

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