- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 04 Aug 2022 13:48:41 +0000
- To: public-css-archive@w3.org
See https://drafts.csswg.org/css-cascade-5/#layer-empty > The [`@layer`](https://drafts.csswg.org/css-cascade-5/#at-ruledef-layer) rule can also be used to define new layers without assigning any style rules, by providing only the [layer name](https://drafts.csswg.org/css-cascade-5/#layer-name): > > `@layer <layer-name>;` > > Such empty [`@layer`](https://drafts.csswg.org/css-cascade-5/#at-ruledef-layer) rules are allowed before [`@import`](https://drafts.csswg.org/css-cascade-5/#at-ruledef-import) and `@namespace` rules (after the [`@charset`](https://drafts.csswg.org/css-syntax-3/#at-ruledef-charset) rule, if any) as well as everywhere `@layer` [block at-rules](https://drafts.csswg.org/css-syntax-3/#block-at-rule) are allowed. So I guess that the "empty [`@layer`](https://www.w3.org/TR/css-cascade-5/#at-ruledef-layer) definitions" from your quote refers to `@layer` statement at-rules, not to `@layer` block at-rules. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7566#issuecomment-1205284107 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 4 August 2022 13:48:43 UTC