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

@FremyCompany If you applied our proposal to `base` in this case, it would actually result in an order of `base, theme, initial, overrides, base-overrides`. We're not anchoring _directly next to_ the `initial` layer, but _on a given side_ of it. Otherwise the names are still stacking in the order they are encountered.

But your outcome can already be achieved with nesting:

```
@layer base, theme, initial, overrides;
...
@layer base.initial, base.overrides;
```


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


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

Received on Friday, 15 October 2021 23:20:32 UTC