[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 #6 from Travis Leithead [MSFT] <travil@microsoft.com> ---
I'm reminded of the request that comes up every so often to add a "parent"
combinator to CSS Selectors. Somehow Selectors are still super-useful and in
nearly every case, you can rearrange your selector logic to avoid needing to do
this.

The same seems possible in the scenario Ian provided. I can just observe the
document or some scoped parent node to see when my element is inserted.

I suppose there is definitely convenience to observing the ancestor chain
changes, but bottom-up matching/tracking is just not a typical pattern used in
traversing the DOM.

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

Received on Tuesday, 17 September 2013 17:38:08 UTC