[Webkit-unassigned] [Bug 100802] New: document.createElement(null) should return <null></null>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 17:47:29 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100802

           Summary: document.createElement(null) should return
                    <null></null>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://dom.spec.whatwg.org/#dom-document-createelement
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: syoichi at outlook.com


Created an attachment (id=171560)
 --> (https://bugs.webkit.org/attachment.cgi?id=171560&action=review)
screenshot

According to DOM Living Standard, createElement's parameter is "localName", not "tagName".
>Element createElement(DOMString localName);
http://dom.spec.whatwg.org/#document

Firefox 19.0, Opera 12.10 follow this.

Firefox 19.0:
http://cache.gyazo.com/1c59a1170dc1aa21e600827c35a7cfc0.png
https://bugzilla.mozilla.org/show_bug.cgi?id=802562
https://hg.mozilla.org/mozilla-central/rev/9ddc62d965dc

Opera 12.10:
http://cache.gyazo.com/f0cc0bcd8b9b364d07bfbcb9f4984a45.png

But WebKit r131444 throws Error.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list