Re: String Pseudo-Element

> I've been reading over the current CSS3 Selectors CR — specifically, 
> at the :contains() pseudo class. It states that, since it's a 
> pseudo-class it applies to the whole element that contains the text, 
> not just the text within the element. So, I'm asking why is there no 
> pseudo-element that does just select the text within?

There has been a lot of criticism on the ':contains()' pseudo class and
it is likely to be removed. [1] and other resources. Probably some
discussion behind closed (W3C) doors.

[1] <http://bugzilla.mozilla.org/show_bug.cgi?id=221981>
     (Take note of comment 9)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Tuesday, 18 May 2004 09:55:35 UTC