mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Selector: Remove "#" exception for identifier tokens
Port Sizzle test change from:f204a61122
(cherry-picked from86e62d8b37
)
This commit is contained in:
parent
b3edc61c54
commit
41f522ace1
@ -166,8 +166,8 @@ test("attributes", function() {
|
||||
t( "Attribute Equals Number", "#qunit-fixture li[tabIndex=-1]", ["foodWithNegativeTabIndex"] );
|
||||
|
||||
document.getElementById("anchor2").href = "#2";
|
||||
t( "href Attribute", "p a[href^=#]", ["anchor2"] );
|
||||
t( "href Attribute", "p a[href*=#]", ["simon1", "anchor2"] );
|
||||
t( "href Attribute", "p a[href^='#']", ["anchor2"] );
|
||||
t( "href Attribute", "p a[href*='#']", ["simon1", "anchor2"] );
|
||||
|
||||
t( "for Attribute", "form label[for]", ["label-for"] );
|
||||
t( "for Attribute in form", "#form [for=action]", ["label-for"] );
|
||||
|
Loading…
Reference in New Issue
Block a user