[Bug 25561] [Explainer]: Use of template in example would result in multiple matching ID tags being generated in the DOM

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

Dimitri Glazkov <dglazkov@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to Jonas Sicking from comment #1)
> I definitely don't think that Shadow content should end up in the document's
> id map. I.e. document.getElementById(x) should never return an element that
> is in Shadow DOM.

Right. Denny, as Jonas points out, the ids will be in a shadow tree of the
element, which means that they will never collide with main document or other
instances.

> 
> We really have to remove the "All other HTML elements in the shadow trees
> must behave as if they were part of the document tree" language from the
> Shadow DOM spec. That's not nearly normative enough. Simply setting the "in
> document" flag will mean different things in different engines.
> 
> I've raised this before and I'm not sure if the fix is still in progress or
> if people simply disagree. I've not heard anything back yet either way.

Filed bug 25562.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 5 May 2014 21:03:01 UTC