Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only.

This commit is contained in:
Timmy Willison
2012-09-19 20:46:18 -04:00
parent c9b894c98c
commit 6ad4a0ef34
2 changed files with 8 additions and 2 deletions

View File

@@ -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 ) {