W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: String Pseudo-Element

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Tue, 18 May 2004 15:55:10 +0200
Message-ID: <40AA15BE.7000705@annevankesteren.nl>
To: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Cc: W3C Style List <www-style@w3.org>

> 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 GMT

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