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

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: annevk@annevk.nl
          Reporter: w3c@blois.us
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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.

Received on Saturday, 11 January 2014 02:17:20 UTC