[Bug 27844] [Shadow]: Element.createShadowRoot() throws an exception for some elements

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

--- Comment #9 from Hayato Ito <hayato@chromium.org> ---
(In reply to Anne from comment #8)
> It seems the easiest would be here to restrict this method (by throwing a
> "NotSupportedError" for the elements that have a 'binding' property applied
> to them per HTML's Rendering section. Probably by enumerating the specific
> list of elements this needs to happen for within the definition of
> createShadowRoot().


'binding' property is https://html.spec.whatwg.org/#bindings, right?

I'm a bit confused. Why do we need the list of elements in the shadow dom spec
if 'binding' is enough to decide such an element which should throw
NotSupportedError? Is that a tentative plan until we can upstream it to each
element's definition?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 21 May 2015 03:51:56 UTC