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

> no longer could be shortened to something like `@layer foo.!overrides.bar {}`.

I was originally thinking that names shouldn’t be affected by that layer being strong or weak, so that layer would be shortened to `foo.bar`.

However, I can see now that it can get complicated. If you do `@layer foo.bar` to append, it’s not clear if one of those parts (or all parts) is strong or weak.

Tweaking that to become `@layer foo.!bar` then brings us back to effectively option 2 which Miriam listed.

So yeah, that `@layer!` thing I proposed doesn’t seem to cut it :-/

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6323#issuecomment-2210475337 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 08:54:17 UTC