[Bug 20487] [Custom]: Creation of custom elements via createElement is underdefined

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

--- Comment #12 from Boris Zbarsky <bzbarsky@mit.edu> ---
> As spec'd now, you can build a non-HTML/SVG Element and get away with
> instantiating it in any namespace. Which seems fine.

I think if you try to instantiate an element not in the HTML namespace which
has HTMLElement.prototype on the proto chain we should consider making that not
work.  Just my 2 cents.

> No, as spec'd now, it will throw a NamespaceError

Why?

>var s = document.createElement('svg')
>WebKit simply creates an HTMLUnknownElement. 

I think so does everyone else.  Certainly Gecko does (in an HTML document).

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

Received on Wednesday, 30 January 2013 06:52:33 UTC