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

Another bonus for option 2: if the styles are _append-only_, then just putting the `!my-overrides` layer after all the existing, at the top layer, will win over everything, so the `@layer !site-topmost, !my-overrides;` will be necessary only if your layer goes _before_ the `!site-topmost`.

While with the option 2, with a single `!top` layer, you can't just add _anything_, and it be the topmost thing just based on the order, as the overrides of the overrides go into _depth_, and you don't know how long the current `!top.!top` chain is.

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


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

Received on Wednesday, 23 October 2024 17:30:59 UTC