[Webkit-unassigned] [Bug 79620] ContainerNode::appendChild should not accept ShadowRoot.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 26 21:19:10 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79620
--- Comment #1 from Hayato Ito <hayato at chromium.org> 2012-02-26 21:19:10 PST ---
I think we have two options in this case:
A). Throws DOM Exception
B). ShadowRoot acts like as DOCUMENT_FRAGMENT so every children of shadowRoot are appended.
It seems the spec says B implicitly because ShadowRoot's nodeType is DOCUMENT_FRAGMENT_NODE.
I thinks A is safer option, but we should file a bug for the spec if we choose A.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list