W3C home > Mailing lists > Public > www-style@w3.org > March 2005

[css3-selectors] CLASS selector is not a simple selector?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 12 Mar 2005 11:14:41 +0100
Message-ID: <4232C111.7060906@annevankesteren.nl>
To: W3C CSS List <www-style@w3.org>

Why is that[1]? (And isn't the "content selector" just another 
pseudo-class?) So, for example, would the following be valid:

  p:not(.date){ /* */ }

... or can you only write that as:

  p:not([class~=date]){ /* */ }

..?


[1]<http://www.w3.org/TR/css3-selectors/#simple-selectors-dfn>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Saturday, 12 March 2005 10:15:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT