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

> Now you have mistakenly applied the first component's styles to this component. So you haven't gotten rid of the need for hashing. Am I misunderstanding something?

`@scope` is framework agnostic.
It isn't aware that your code has `.one` in two different files/components and that they should be interpreted as the two different things. Doing so would make the inverse impossible : overriding scoped styles from a framework in your specific project.

This is not something that `@scope` ever intended to fix.
It is also unrelated to strong vs. weak scoping :)

-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6790#issuecomment-1472048160 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 14:06:43 UTC