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

Just to put credit where it is due, the first mention of this was in @FremyCompany's [comment](https://github.com/w3c/csswg-drafts/issues/6323#issuecomment-939655516), but yes, re-reading the discussion now, I still think something like `!overrides` is the better way to go about it.

And, I don't think there should be any implementation issues — it is just an ability to add one layer above the unlayered styles inside any other layer, including the topmost one.

Can we add this to the agenda? (cc @astearns) If we could resolve on this, and if the browsers will implement it, it could be a quick win. A late one, but nevertheless. (I still find myself wanting to use this feature all the time when writing custom _overrides_ for various sites; and if we had it in browsers today, that use case would be covered _immediately_).

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6323#issuecomment-2208270237 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 07:10:04 UTC