From 86e62d8b37ff9ad40e7c21c2c0c440a9cdfc550e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 30 Jun 2014 18:13:57 +0200 Subject: [PATCH] Selector: Remove "#" exception for identifier tokens Port Sizzle test change from: https://github.com/jquery/sizzle/commit/f204a6112216f31685717d9fc1bf6cabf42b2ef1 --- test/unit/selector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/selector.js b/test/unit/selector.js index beba6be07..e3830d9bd 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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"] );