- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Thu, 04 Jul 2024 08:14:38 +0000
- To: public-css-archive@w3.org
> What's clear is that the unlayered layer having the smallest or the highest priority probably won't work for us. The `!overrides` makes it so the unlayered styles will be in the middle, so it covers your case? All regular layers will have the smallest priority, the layers inside `!overrides` will have the highest, the unlayered styles will be in the middle. There is no functional difference between ```CSS @layer reset, theme, !unlayered, blocks, user; ``` and ```CSS @layer reset, theme, !overrides.blocks, !overrides.user; ``` The only difference is what is explicit: the mention of the unlayered styles, or the mention of the styles that go on top of them. (Which is actually a good thing to clarify in the specs: it should be possible to define the order of layers inside `!overrides` using an `@layer` statement, but with all overrides being always on top of the other mentioned layers, so the above is the same as `@layer !overrides.blocks, reset, theme, !overrides.user` really, which is probably not something most will write, but something that we could allow to do.) -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6323#issuecomment-2208377203 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 4 July 2024 08:14:39 UTC