- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 12 May 2010 14:22:19 +0200
- To: www-style@w3.org
- Cc: "Rune Lillesveen" <rune@opera.com>
The grammar in http://dev.w3.org/csswg/selectors3/#nth-child-pseudo nth : S* [ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? | ['-'|'+']? INTEGER | {O}{D}{D} | {E}{V}{E}{N} ] S* ; could probably use some additional explanation or revision. E.g. "2/*comment*/n" parses as what is stated there but "2n" will parse as DIMENSION. It also seems to imply that "ev/*comment*/en" matches {E}{V}{E}{N} which is probably not intended. I recall this being discussed before, but I cannot find anything in the draft that clarifies things. -- Anne van Kesteren http://annevankesteren.nl/
Received on Wednesday, 12 May 2010 12:23:07 UTC