[Bug 23250] No way with mutation observers to watch mutations to an element's parent

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23250

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> ---
There are three types of changes possible here:

* Parent change
* Ancestor change
* Document change

I would expect a "parent change" notification to be pretty cheap to implement
on most platforms.

"document change" is pretty cheap to implement in Gecko currently since we
already have an internal notification for that. However that internal
notification comes at a pretty high overhead so I'm not sure how cheap it would
be to implement elsewhere. And i'm not sure that the internal notification
which makes it cheap to implement this in gecko is something that we'll keep
around forever.

"ancestor change" I think would be pretty expensive to implement in gecko.


I definitely see value in all three notifications here. But I think that we
might want to enable separating expensive notifications from cheap ones. So
that you don't incur high costs just because you are interested in for example
"parent change".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 17 September 2013 17:30:33 UTC