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
This commit is contained in:
parent
4f776e5ff9
commit
86e62d8b37
@ -166,8 +166,8 @@ test("attributes", function() {
|
|||||||
t( "Attribute Equals Number", "#qunit-fixture li[tabIndex=-1]", ["foodWithNegativeTabIndex"] );
|
t( "Attribute Equals Number", "#qunit-fixture li[tabIndex=-1]", ["foodWithNegativeTabIndex"] );
|
||||||
|
|
||||||
document.getElementById("anchor2").href = "#2";
|
document.getElementById("anchor2").href = "#2";
|
||||||
t( "href Attribute", "p a[href^=#]", ["anchor2"] );
|
t( "href Attribute", "p a[href^='#']", ["anchor2"] );
|
||||||
t( "href Attribute", "p a[href*=#]", ["simon1", "anchor2"] );
|
t( "href Attribute", "p a[href*='#']", ["simon1", "anchor2"] );
|
||||||
|
|
||||||
t( "for Attribute", "form label[for]", ["label-for"] );
|
t( "for Attribute", "form label[for]", ["label-for"] );
|
||||||
t( "for Attribute in form", "#form [for=action]", ["label-for"] );
|
t( "for Attribute in form", "#form [for=action]", ["label-for"] );
|
||||||
|
Loading…
Reference in New Issue
Block a user