Skip to content
Browse files
Selector: Remove "#" exception for identifier tokens
Port Sizzle test change from:
  • Loading branch information
mgol committed Jun 30, 2014
1 parent 4f776e5 commit 86e62d8b37ff9ad40e7c21c2c0c440a9cdfc550e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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"] );

0 comments on commit 86e62d8

Please sign in to comment.