[Bug 20973] [Custom]: Restrict custom elements to NCName

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

Anne <annevk@annevk.nl> changed:

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

--- Comment #11 from Anne <annevk@annevk.nl> ---
Deepak, XML does not define validity for HTML. E.g. "test" is invalid for HTML,
yet is allowed by createElement(), createElementNS(), and the HTML parser.

"test:test" is non-well-formed in XML (when namespaces are enabled, as they
are), invalid in HTML, yet is allowed by the HTML parser, createElement(), but
not createElementNS().

Comment 0 is mostly about restricting the validity to names that can be used by
both HTML and XML, but does not put actual constraints in place for the HTML
parser, createElement(), and createElementNS().

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

Received on Thursday, 20 November 2014 11:18:01 UTC