Skip to content

Commit

Permalink
Update Sizzle: fix a failing test in traversing. Move an attribute se…
Browse files Browse the repository at this point in the history
…lector test to jQuery-only.
  • Loading branch information
timmywil committed Sep 20, 2012
1 parent c9b894c commit 6ad4a0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sizzle
Submodule sizzle updated 2 files
+14 −12 sizzle.js
+1 −8 test/unit/selector.js
8 changes: 7 additions & 1 deletion test/unit/selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ test("class - jQuery only", function() {
});

test("attributes - jQuery only", function() {
expect( 1 );
expect( 2 );

t( "Find elements with a tabindex attribute", "[tabindex]", ["listWithTabIndex", "foodWithNegativeTabIndex", "linkWithTabIndex", "linkWithNegativeTabIndex", "linkWithNoHrefWithTabIndex", "linkWithNoHrefWithNegativeTabIndex"] );
// jQuery #12523
deepEqual(
jQuery.find( "[title]", null, null, jQuery("#qunit-fixture a").get().concat( document.createTextNode("") ) ),
q("google"),
"Text nodes fail attribute tests without exception"
);
});

if ( jQuery.css ) {
Expand Down

0 comments on commit 6ad4a0e

Please sign in to comment.