Re: [css-selectors] :contains()

Le 17/04/2012 18:59, Tab Atkins Jr. a écrit :
> Unfortunately, the implementation concerns are still relevant.  It
> seems to be quite difficult to implement efficiently in the face of
> dynamic updates.
>
> This is perfectly appropriate for use in a static query, like for
> querySelector(), though.  I think we should add this back to
> Selectors, but create a "dynamic" and "static" profile, with
> :contains() excluded from the dynamic profile.


For what it’s worth, I just added it back to cssselect:

http://packages.python.org/cssselect/

It is a (Python) library for static documents, so I had no particular 
issue. But I imagine that following dynamic updates can be difficult to 
do efficiently.

Regards,
-- 
Simon Sapin

Received on Tuesday, 17 April 2012 17:11:21 UTC