[Bug 24271] New: Document.createElement name validation inconsistent with HTML parse rules

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24271

            Bug ID: 24271
           Summary: Document.createElement name validation inconsistent
                    with HTML parse rules
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Document.createElement name validation rules
(https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-createelement)
uses different validation from the HTML parser
(http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tag-name-state).
This means that elements can be created via the parser which cannot be created
via createElement.

The parser rules are much more permissive. For what it's worth, I do not
believe that any two browsers support the same exact set of unicode characters
for document.createElement.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.