Re: [csswg-drafts] [css-cascade-5] What happens to name-defining @-rules nested inside @layer? (#6404)

Thanks, @SebastianZ 

I think we can ignore a couple of those here:

- `@container` queries can reference a named container, but doesn't actually define that name. The name can be used as often as desired, without impacting previous usage - so I don't think that one's an issue.
- `@layer` already has a defined behavior for nesting.

For the rest, the main use-case I can imagine is dealing with third-party code: eg overriding the built-in font or animation or counters (etc) from a component library. Though [I don't think that's terribly common right now](https://twitter.com/TerribleMia/status/1407437642715648000), it is one of the primary use-cases for `@layer`, so I do _like_ the idea of having support for it.

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


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

Received on Tuesday, 22 June 2021 21:11:25 UTC