Re: [csswg-drafts] [css-nesting-1] Example 4 : selectors starting with an identifier (#7980)

The spec says "The selector of [nested style rules](https://w3c.github.io/csswg-drafts/css-nesting-1/#nested-style-rule) must not start with an [identifier](https://w3c.github.io/csswg-drafts/css-values-4/#css-css-identifier) or a [functional notation](https://w3c.github.io/csswg-drafts/css-values-4/#functional-notation)." - it does not specify "each complex selector of the selector list of a nested style rule". So, the restriction is applied to the selector (list) as a whole, and only affects the first selector in the list.

(This is because the restriction only exists as a parser-level restriction to allow me to tell where a rule starts. Once we know we're in a selector, it doesn't matter what the rest of the selector does.)

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


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

Received on Tuesday, 10 January 2023 23:50:46 UTC