Re: [csswg-drafts] [css-cascade-6] Strong vs weak scoping proximity (#6790)

I don't have a problem with introducing weak scoping into CSS. But what I am uncomfortable with is:

- Weak @scope ends up weaker than nesting in almost all cases, yet is a heavier syntactic construct.
- Weak scoping is something that probably is more useful than descendant selectors in almost all cases, so if we're introducing it it should be easy to use it everywhere *instead* of descendant selection.
- We're tying the ability to floor a selector to applying weak scoping. But it's independently useful.

So I'm not convinced that what we're doing here with @scope is the best way forward.

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


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

Received on Wednesday, 1 March 2023 18:08:07 UTC