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

What if `@scope` defaulted to weak scoping (as suggested) but authors could use `@scope!`(or `@scope !important (…)`?) to define a strong scope of they need it to be strong for their use-case?

If we go for weak now, this can always be added later.

_(The modifier could also be backported to `@layer`, where `@layer!` would create a layer that wins from unlayered styles)_

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


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

Received on Wednesday, 15 March 2023 22:29:06 UTC