Re: [csswg-drafts] [css-nesting-1] Syntax Invites Errors (#7834)

> What would be the specificity of such a rule anyway?

Even worse, what happens if you write ``<div style="@nest :is(&, .foo) { color: red; }">``, would that affect an external element with class foo? This should be disallowed.

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


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

Received on Wednesday, 19 October 2022 07:58:58 UTC