[csswg-drafts] Descriptive text in nth-child selector when using "of" is misleading (#7411)

faceless2 has just created a new issue for https://github.com/w3c/csswg-drafts:

== Descriptive text in nth-child selector when using "of" is misleading ==
https://www.w3.org/TR/selectors-4/#the-nth-child-pseudo

Spec currently defines the syntax as being `:nth-child(An+B [of S]?)` and then says 

> If `S` is omitted, it defaults to `*|*`.

this reads like `nth-child(2n of)` is valid. Perhaps it should be

> If `of S` is omitted it defaults to `of *|*`



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7411 using your GitHub account


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

Received on Thursday, 23 June 2022 14:48:54 UTC