- From: Sebastian Zartner <sebastianzartner@gmx.de>
- Date: Fri, 20 Apr 2012 15:58:31 +0200
- To: Allan Sandfeld Jensen <kde@carewolf.com>
- Cc: www-style@w3.org
> Ah, okay. The explamation mark is the subject selector see > http://dev.w3.org/csswg/selectors4/#subject Ah, that's a great enhancement. Didn't notice that before. > This is what makes it possible to match elements based on the aspects of > an elements children, but since it is already a feature of the next > selectors spec, I just dont think we need to duplicate similar > functionality inside the :contains selector. Agree. As I understand the subject selector will make :contains( <selector> ) unnecessary. > Technically you will also miss the opportunity to match 'word' in > something like: <span>wo<em>rd</em></span>, but is that needed? So :contains() could really be restricted to text nodes, if we agree not to be able to cover that use case (which could still be covered in a later enhancement). Sounds acceptable to me. Sebastian -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
Received on Friday, 20 April 2012 13:59:05 UTC