W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 11 Jan 2014 02:17:19 +0000
To: www-dom@w3.org
Message-ID: <bug-24271-4009@http.www.w3.org/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: 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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC