> [Original Message] > From: Boris Zbarsky <bzbarsky@MIT.EDU> > > Ernest Cline wrote: > > > The effect I believe you are looking for with this selector can be > > achieved with existing selectors: > > body section section:not(body section section section) > > would select just the second level sections in this case > > Actually, no. It would select absolutely nothing. The argument to > :not() must be a simple selector, and "body section section section" is > not a simple selector. My fault, since it is not yet supported by IE, I don't tend to use it yet since it won't work for most users, so I'm not as familiar with :not() as with the parts I do use. Is there ant particular reason other than keeping things from getting bogged down with complex selectors as to why it is limited to a simple selector? It would seem that placing complex selectors inside not() would be parsable.Received on Sunday, 7 December 2003 13:44:26 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT