[Bug 22141] [Shadow]: Need mechanism to tell if an element in a ShadowRoot has been inserted into the Document

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

--- Comment #20 from Hayato Ito <hayato@chromium.org> ---
Good question.

IMO, document.contains(nodeInShadowTreesHostedByTextAreaElementInDocument, {
includeShadow: treu}) should return `true`. However, I'm not confident.

I am not sure whether there is a use case for that, assuming external
developers can't get an access for such a node usually.

AFAIK, only use cases I've heard so far is for nodes which are in user-created
shadow trees, rather than nodes in UA shadow trees for built-in elements.

If I misunderstand your question, please correct me.

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

Received on Monday, 25 August 2014 09:02:59 UTC