Commit 6ad4a0ef authored by Timmy Willison's avatar Timmy Willison

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

parent c9b894c9
Subproject commit 831c9c489ef90134436449b5c732f93f0a0b29bb Subproject commit ed5c22e10fc42805486ff4e501e0e7e5c4b9546b
...@@ -29,9 +29,15 @@ test("class - jQuery only", function() { ...@@ -29,9 +29,15 @@ test("class - jQuery only", function() {
}); });
test("attributes - 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"] ); 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 ) { if ( jQuery.css ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment