Re: [csswg-drafts] [css-nesting] Problem with mixing properties and selectors (#8249)

I find it incomprehensible that `:is(div) ...` and `.foo &` should be disallowed (or postponed) on the grounds that we don't know whether infinite lookahead is possible or not, because it makes no difference either way.

If infinite lookahead is impossible then `:is(div) ...` and `.foo &` are viable indicators of a selector.
if infinite lookahead is possible then `:is(div) ...`, `.foo &` and `div` would be viable indicators of a selector.

What is gained by forcing authors to apply a prefix onto all nested selectors? 

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


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

Received on Saturday, 21 January 2023 20:32:27 UTC