+
Skip to content

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

@timmywil

Description

@timmywil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3 - LowHas a jQuery counterpartIssues that have a related jQuery issue; used to identify issues relevant after Sizzle is archivedneedsreview

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载