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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 18 21:52:46 PST 2013


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


Arpita Bahuguna <arpitabahuguna at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arpitabahuguna at gmail.com




--- Comment #3 from Arpita Bahuguna <arpitabahuguna at gmail.com>  2013-02-18 21:55:07 PST ---
For the given testcase, if we were to use setAttribute() instead of setAttributeNS(), there is no issue.

The specification for setAttribute() clearly states that the "name" parameter of the API should be converted to ASCII lowercase (before use) whereas, the specification for setAttributeNS() has no such mandate.
[http://www.w3.org/TR/domcore/#dom-element-setattribute]

This is perhaps what causes the setAttributeNS() method to store case sensitive attributes thereby failing the given testcase.

The question is whether WebKit too should follow Gecko and handle setAttributeNS() in a manner similar to setAttribute().

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