[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 #42 from Olli Pettay <bugs@pettay.fi> ---
Though, there is then the issue that if
the old shadow dom has <iframe> and a new one is created, before the
new one has any content, the <iframe> from the older one would be unloaded.

To make that work properly there should be a way to create a shadow dom with
one function call.
Something like
element.createShadowRoot("<iframe></iframe><span>I'm in shadow dom</span>");
or
element.createShadowRoot(someOtherElementWhichWillBeAppendedToTheShadowRoot);

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

Received on Wednesday, 12 November 2014 18:21:43 UTC