Re: [csswg-drafts] [css-cascade] Opt-in strong proximity for @scope (#8601)

https://github.com/w3c/csswg-drafts/issues/6790#issuecomment-1471721833

> so it essentially just creates a two-class system for styling rules, which is really hard to work with

That was exactly my point in https://github.com/w3c/csswg-drafts/issues/6790#issuecomment-1471517061

Strong proximity scoping might feel similar as `@layer` but the opt-in or toggle mechanic would again introduce this two-class system, which again would be really hard to work with.

The issue with `!important` is that some action at a distance changes the rules/context you have to work in.

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


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

Received on Thursday, 16 March 2023 11:46:55 UTC