- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 20 Oct 2009 16:14:43 -0500
- To: Anton Prowse <prowse@moonhenge.net>
- Cc: www-style list <www-style@w3.org>
On Tue, Oct 20, 2009 at 4:04 PM, Anton Prowse <prowse@moonhenge.net> wrote: > is, pedantically speaking, incorrect since "-0" is not an integer; and > more importantly, from the following: Why is -0 not an integer? It's equal to 0. > # When a=0, the an part need not be included (unless the b part is > # already omitted). > > # If b=0, then every ath element is picked. In such a case, the +b (or > # -b) part may be omitted unless the a part is already omitted. > > we see that all simplifications of :nth-child(an+b) where each of a and > b is one of 0 and -0 are accounted for, apart from the simplification of > :nth-child(-0n+0) and nth-child(-0n-0) to nth-child(0). Similarly, -0 is equal to 0, so these don't seem to be issues. ~TJ
Received on Tuesday, 20 October 2009 21:15:33 UTC