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

> What happens when a 3rd party stylesheet declares `@layer *, reset, base, components, overrides;`?
> 
> Would that cause all unlayered 1st party styles to have lower priority?

Yes. It can be part of author guidance to note that 3rd party libs shouldn’t really do that. 

Also, when importing a 3rd party library, the author can load it directly into its own layer, so you’d end up with `thirdparty.*`

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


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

Received on Wednesday, 3 July 2024 11:07:32 UTC