W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > February 2012

[Bug 16130] [Shadow]: Define what happens if a ShadowRoot is appended into an element as a child.

From: <bugzilla@jessica.w3.org>
Date: Tue, 28 Feb 2012 02:44:00 +0000
To: public-webapps-bugzilla@w3.org
Message-Id: <E1S2D2m-00010S-R6@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16130

--- Comment #2 from Shinya Kawanaka <shinyak@chromium.org> 2012-02-28 02:43:59 UTC ---
(In reply to comment #1)
> Are you sure we need to do anything here? ShadowRoot is a DocumentFragment
> (since it inherits from a DocumentFragment), and there's a  pretty clear
> algorithm of what should be done in DOM4 spec:
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-append

I just thought appending a shadow root into an element seems something weird.
I understand the fact that ShadowRoot extends DocumentFragment, but I was
thinking ShdaowRoot was a something special. It is not intuitive for me that we
can do appending a shadow root.

But this is intentional, I try to understand why ShdowRoot is extended from
DocumentFragment.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 28 February 2012 02:44:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 February 2012 02:44:03 GMT