Re: [csswg-drafts] [css-cascade] Cascade layers need an import syntax (#5681)

@fantasai Please be careful to put at-rules in backticks to avoid mentioning unrelated people here on GitHub.

I also slightly tend to extending the exising `@import` syntax for the purpose of importing the style sheet into a new cascade layer.

> @una @import differs from @layer because it does not wrap its contents in a layer, merely pulls them into whatever is the base layer of the current style sheet, exactly as if those rules were copy-pasted into the style sheet in place of the @import rule.

Is that so? I thought specifying the layer's name is meant to wrap its contents into a new layer under that name.

Sebastian

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


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

Received on Sunday, 10 January 2021 18:13:19 UTC