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

I hate to re-tread older ground, but looking at past discussions, [option 3](https://github.com/w3c/csswg-drafts/issues/6323#issuecomment-2207341923) was never fully rejected. The tradeoffs of options 2 and 3 were discussed, but no resolution.

Option 3 would look something like `@layer ^top.overrides`, where `^top` is a UA-reserved strong layer name, and `overrides` is an author-defined sub-layer name.

Benefits:
- More explicit, addressing the concerns re: "Any symbol will be less explicit than an explicit description."
- Clear namespace separation, so that `@layer overrides` does not conflict with `@layer ^top.overrides`.

It was said earlier that option 2 and option 3 are the same (which would make this bikeshed), but in my mind, the namespace separation is an important distinction.

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


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

Received on Friday, 31 January 2025 18:16:31 UTC