W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 May 2014 21:02:59 +0000
To: public-webapps@w3.org
Message-ID: <bug-25561-2927-wJ6qnGSZHG@http.www.w3.org/Bugs/Public/>

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

> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC