Re: [csswg-drafts] [css-cascade] What is the appropriate syntax for appending to nested layers? (#5791)

The fact that it can occur before a curly brace block makes it feel more akin to selectors to me, so I'm not that opposed to `>` to show the hierarchical relationship. `@page` is selector-like, with its pseudo-classes.

```
@layer framework>default
```

But I can see I'm in a minority there, and I'm not super attached to that either.

When I look at other at-rules, I see relationships denoted by colons, as in `@supports` and `@media`, which doesn't seem right here, and conjunctions in `@media`. Conjunctions still aren't what we want, but what about another small word, such as a preposition?

```
@layer default of framework
```

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


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

Received on Monday, 13 September 2021 05:24:00 UTC