[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
Tue Feb 19 06:20:26 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=105713
--- Comment #6 from Arpita Bahuguna <arpitabahuguna at gmail.com> 2013-02-19 06:22:48 PST ---
(In reply to comment #4)
> setAttributeNS always preserves the case of the attribute name; that's true in both WebKit and in Gecko. You can see this trivially by just enumerating the attributes on the given testcase.
>
> This bug is purely about the behavior of getAttribute. In WebKit the argument to getAttribute is compared case-insensitively to all attribute names; if that fails to find a match further processing is done. So in WebKit the "FAIL" value is found.
>
> But per spec, the argument to getAttribute should be ASCII-lower-cased before doing any comparisons, so the "PASS" value should be found.
Thank-you for the explanation Boris. I understand the issue now. I will check on this further.
--
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