Re: [csswg-drafts] [css-nesting] Proposal to use `()` instead of `&` (#6811)

`&` is parsed as a delim-token. `()` can be parsed as either a block or a function token.
So `().bar` is a `()-block`, a `.` delim, and a `bar` ident. And `.bar()` is a `.` delim, and a `bar` function. Seems wrong.

Also, I don't think we should worry about `&` being an address-of operator in C, since that's completely unrelated to CSS selectors. And about logical AND, `S1` AND `S2` is expressed as `:is(S1):is(S2)` in CSS selectors.

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


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

Received on Wednesday, 10 November 2021 17:51:39 UTC