[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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #8 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
I don't understand how I can tell when the element is inserted into another,
when that element is either not in a document, or not in a document I know
about, which are the cases I am particularly interested in. Also I shouldn't
need a 1600+ line library to do this. :-)

The specific use case was having an element that manipulates the parent
element, e.g. the way that animations do in SVG. It needs to know when its
parent changes, so it can hook in when it's added, and unhook when it's
removed.

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

Received on Monday, 7 October 2013 21:17:27 UTC