Re: Mutation events

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.

Regards,
Fremy 

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