Bug 81753 - DOM methods should be ASCII case-insensitive
Summary: DOM methods should be ASCII case-insensitive
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 03:39 PDT by Anne van Kesteren
Modified: 2022-09-17 21:59 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2012-03-21 03:39:00 PDT
The methods that have case-insensitive behavior in the DOM for HTML only are case-insensitive within the ASCII range. That matches the HTML parser. However, in WebKit that is currently not the case.
Comment 1 Alexey Proskuryakov 2012-03-21 09:59:54 PDT
Could you please give a list of methods that need to be fixed to consider this bug resolved? A test case would be very useful, too.
Comment 2 Alexey Proskuryakov 2012-08-09 09:56:28 PDT
Bug report is incomplete, no answer to follow-up questions.
Comment 3 Anne van Kesteren 2012-08-25 09:25:56 PDT
E.g. getElementsByTagName() and attribute related methods.
Comment 4 Ahmad Saleem 2022-09-16 23:25:39 PDT
I think ASCII case sensitivity tests are now part of WPT and Safari do pass them here:

https://wpt.fyi/results/?label=master&label=experimental&aligned&view=subtest&q=getElementsByTagName

Is anything else is required here? Thanks!
Comment 5 Ryosuke Niwa 2022-09-17 21:59:12 PDT
I'm pretty sure we've implemented this behavior by now.