W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-cascade] How do Cascade Layers interact with `!important`? (#4971)

From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Jan 2021 21:20:58 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-754906311-1609881657-sysbot+gh@w3.org>
The current [Cascade 5 draft](https://drafts.csswg.org/css-cascade-5/) follows the [initial syntax proposal](https://gist.github.com/mirisuzanne/4224caca74a0d4be33a2b565df34b9e7) on this.

Important layers reversed, with unlayered styles highest in the normal origin, and lowest in the `!important` origin:

1. ❗️**Author** 
   1. ❗️`@layer` Reset
   2. ❗️️`@layer` Base
   3. ❗️️`@layer` Patterns
   4. ❗️️`@layer` Components
   5. ❗️*unlayered*
2. *Animations*
3. **Author**
   1. *unlayered*
   2. ️`@layer` Components
   3. ️`@layer` Patterns
   4. ️`@layer` Base
   5. ️`@layer` Reset

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 January 2021 21:21:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC