[Bug 26365] [Shadow]: Need an equivalent definition of 'in a Document' for shadow trees

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

--- Comment #41 from Olli Pettay <bugs@pettay.fi> ---
So I think if one overrides existing shadow dom of an element without
providing shadow insertion point for the old shadow tree, I would expect the 
elements in that older shadow tree to stop behaving as if they where
still in document. Say, you have an <iframe> there, and the younger 
shadow tree just wants to override all that with something more lightweight
(and not provide <shadow>). I think the <iframe> should be unloaded as if it
was
removed from document.
If one wants to keep the old stuff working, then just explicitly provide shadow
insertion point.

And still, I could live with (A), but it feels a bit odd to keep the older
shadow working while one probably wants to override it all with something else.

#c case is different. There you have an element #c which is in document
already.
(so if #c is an iframe, it does load a new document). So if you know create a
shadow root for #c and insert <iframe> to it, why wouldn't it load.

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

Received on Wednesday, 12 November 2014 17:45:23 UTC