[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 #1 from Dominic Cooney <dominicc@chromium.org> ---
Because the author has to have the node in question in hand, it seems like
document.contains returning an accurate value for elements in Shadow DOM
violates the letter of encapsulation but not the spirit.

I think document.contains should return a value reflecting whether the argument
is in the document (including shadow trees.)

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

Received on Friday, 21 June 2013 04:27:35 UTC