Re: [csswg-drafts] [css-nesting] Lexical scoping for identifiers defined in nested blocks (#6809)

I don't think it's reasonable to expect that any and all encapsulation happens within Shadow DOM and in the light DOM anything goes and everything should be global. Authors often want scoping as a means to manage their code more easily and create reusable chunks, and asking them to use Shadow DOM every time they want to modularize their CSS code is unrealistic. 

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


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

Received on Tuesday, 16 November 2021 12:11:22 UTC