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

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 UTC