[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 #2 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to comment #1)
> 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.)

That's a neat way to look at the problem. I am convinced.

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

Received on Friday, 21 June 2013 15:00:59 UTC