Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain attributes should be treated as case-insensitive when comparing them #122

Open
timmywil opened this issue Jul 10, 2012 · 2 comments
Labels
3 - Low Has a jQuery counterpart Issues that have a related jQuery issue; used to identify issues relevant after Sizzle is archived needsreview

Comments

@timmywil
Copy link
Member

Ported from jQuery bug http://bugs.jquery.com/ticket/12024

http://jsfiddle.net/timmywil/n8zDu/14/

The inputs in the example all have uppercase values for their attributes while the value in the selector is lowercase. When :not contains a complex selector, querySelectorAll fails and Sizzle handles the attribute comparisons but does not account for these attributes being case-insensitive. We can fix that, but it will probably require a list within Sizzle specifying which attributes are case-insensitive in both HTML and XML.

@timmywil
Copy link
Member Author

This is both low priority and valid. It all depends on how much size it takes to keep a table of all attributes affected (in both HTML and XML).

@mgol
Copy link
Member

mgol commented Sep 7, 2023

jQuery version of this issue: jquery/jquery#5316

@mgol mgol added the Has a jQuery counterpart Issues that have a related jQuery issue; used to identify issues relevant after Sizzle is archived label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Low Has a jQuery counterpart Issues that have a related jQuery issue; used to identify issues relevant after Sizzle is archived needsreview
Development

No branches or pull requests

2 participants