* "Jonas Sicking" <sicking@bigfoot.com> wrote: | I'd guess that the WG has recogniced the need for class inversion since the | CSS3 drafts has contained inversion of some of the classes. What I'm asking | for is to make inversion generic on *all* pseudo classes by saying "any | pseudoclass can be inverted by putting not- infront of it" rather then | adding some specific classes that are inverted. That way it could also be | possible to have the CSS parser handle the inversion and thus making css | renderers a bit slimmer. I really don't like a 'not-' prefix as a generic modifier. What about a suffix pseudo-class? p:contains("foo"):not "selects element p not containing 'foo'" a[href^='http://www.w3.org']:not "selects element a with href not starting with 'http://www.w3.org'" p:subject > a:not "selects element p with no child 'a'" h1:subject + p:not "selects element h1 with no adjacent sibling p" a:hover:not ... I think it makes small sense to say for negating attribute selectors you use this syntax for negating pseudo-classes use that syntax, for negating type selectors use again another syntax. regards, -- Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de 25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i} ..weaving a secure, well-formed, standard compliant WWW for =everyone=..Received on Monday, 9 October 2000 07:54:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT