Re: [csswg-drafts] [css-cascade-6] The specificity of a scope rule (#8500)

> From a practical perspective, I don't see much value in having scopes change specificity, as that is needless overlap with `@layer`s in my view. The two can be easily combined.

Yup, this was gonna be my point as well. Ultimately, a lot of the composition issues are *meant* to be solved by layers. Trying to solve composition in specificity is imo doomed to failure; specificity is already often very complex for authors, and it serves multiple purposes; stretching it to do *even more* just makes it more difficult to use in general, even if it solves one particular case slightly more elegantly. (But I'd push back on that as well, tbh.)

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


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

Received on Tuesday, 28 February 2023 17:48:27 UTC