- From: L. David Baron <dbaron@dbaron.org>
- Date: Sat, 8 Mar 2008 08:45:43 -0800
- To: www-style@w3.org
Where inside ":nth-child(3n+1)" is whitespace allowed? Is ":nth-child( 3 n + 1 )" a valid selector? Is ":nth-child( 3n+1 )"? What about ":nth-child(3n + 1)" ? The same question applies to other possible arguments of :nth-child(). I don't see any answers in http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#nth-child-pseudo I wrote a non-exhaustive test at http://dbaron.org/css/test/2008/nth-child-whitespace and found that: * Konqueror 3.5.9 allows whitespace nowhere * Opera 9.5 beta 1 allows whitepace in only three places: + on either side of the + or - in the middle + before the closing ")" -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Saturday, 8 March 2008 16:45:53 UTC