- From: David Hyatt <hyatt@apple.com>
- Date: Sun, 09 Mar 2008 15:48:55 -0500
- To: www-style@w3.org
I'd be fine with not allowing whitespace anywhere inside the expression. Either way works for me really. If we disallow whitespace, I have to do less work. ;) dave On Mar 9, 2008, at 3:30 PM, David Hyatt wrote: > > We consider this a bug in WebKit. > > http://bugs.webkit.org/show_bug.cgi?id=17248 > > dave > > On Mar 8, 2008, at 10:45 AM, L. David Baron wrote: > >> >> 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 Sunday, 9 March 2008 20:49:09 UTC