[Webkit-unassigned] [Bug 105713] New: getAttribute does not behave correctly for mixed-case attributes on HTML elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 24 01:35:44 PST 2012


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

           Summary: getAttribute does not behave correctly for mixed-case
                    attributes on HTML elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bzbarsky at mit.edu


Consider this testcase:

  var e = document.createElement("div");
  e.setAttributeNS(null, "SOMETHING", "FAIL");
  e.setAttributeNS(null, "something", "PASS");
  alert(e.getAttribute("SOMETHING"));

Per current spec at http://www.w3.org/TR/domcore/#dom-element-getattribute this should alert "PASS", which is what Gecko and Presto do.  WebKit alerts "FAIL".

Note that this causes WebKit to fail some of the tests at http://w3c-test.org/webapps/DOMCore/tests/submissions/Ms2ger/attributes.html

-- 
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