W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Re: Mutation events

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Sun, 10 May 2009 14:02:51 +0200
To: "Mike Wilson" <mikewse@hotmail.com>, <www-dom@w3.org>

From: "Mike Wilson" <mikewse@hotmail.com>
> (...)
> If we assume that we were able to specify this filtering in
> some general way for all mutation types, would this make
> enough difference in performance to be an interesting
> option?
> And if the answer above is yes, could the general
> mechanism for specifying filters be based on CSS selectors
> and find synergies with querySelectorAll in the Selectors
> API?

I agree with you. We should be able to filter events we want to receive.
But CSS Selectors have problem : we can't match an attribute or a text node, 
only an HTMLElement.

XPath seems here more appropriate, though we can provide CSS Selectors too, 
as additional solution.

Received on Sunday, 10 May 2009 12:03:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:55 UTC