W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

[Bug 24421] [Shadow]: Clarify that Shadow DOM spec takes care of nodes which are *inDocument*.

From: <bugzilla@jessica.w3.org>
Date: Mon, 10 Feb 2014 06:09:29 +0000
To: public-webapps@w3.org
Message-ID: <bug-24421-2927-rNtNCN3p27@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24421

Hayato Ito <hayato@chromium.org> changed:

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

--- Comment #6 from Hayato Ito <hayato@chromium.org> ---
Yeah, I assumed that Polymer doesn't depend on event dispatching in detached
nodes.

However, there is still a possibility that Polymer uses distribution result
through some APIs, such as getDistributedNodes(), even in detached nodes. In
addition that, I've heard that Polyfill does composition even in detached
nodes. That might not be intentional and might not be required, however, for
the safety and consistency between Polyfill and native Shadow DOM, I've
reverted the chromium side patch, https://codereview.chromium.org/133213008/.

As for the spec, let me leave the spec as is and close this bug.
It might be safer to make the behavior of detached nodes *undefined*.
If we can feel we should support distributions even in detached nodes, we can
relax this restriction in the future without breaking incompatibility if we
leave it *undefined*.

Please file a bug for 'Support distributions even for detached nodes' as
another issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 10 February 2014 06:09:31 UTC

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