Re: [csswg-drafts] [css-cascade-5] Allow authors to explicitly place unlayered styles in the cascade layer order (#6323)

Option 1 avoids unnecessary duplication by specifying `@layer initial` before any other layers. Option 3, on the other hand, forces you to either add `!overrides` to each layer name, or have each layer block indented by nesting in a `@layer !overrides {}`.

By the way, the exclamation mark at the beginning of the naming of each option looks like it would wash them away from the fact that there are reserved names in the specification for future compatibility, and thereby discourage from choosing option 1.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 5 July 2024 01:05:13 UTC