Skip to content

Commit

Permalink
remove unnecessary DOM manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jan 16, 2013
1 parent 3144e35 commit 5c51caa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/unit/selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,8 @@ test("pseudo - nth-last-of-type", function() {
test("pseudo - has", function() {
expect( 3 );

var fixture = document.getElementById("qunit-fixture");

t( "Basic test", "p:has(a)", ["firstp","ap","en","sap"] );
t( "Basic test (irrelevant whitespace)", "p:has( a )", ["firstp","ap","en","sap"] );

fixture.insertBefore( document.createElement("form"), fixture.firstChild ).action = "#";
fixture.firstChild.appendChild( document.createElement("select") );
t( "Nested with overlapping candidates", "#qunit-fixture div:has(div:has(div:not([id])))", [ "moretests", "t2037" ] );
});

Expand Down

0 comments on commit 5c51caa

Please sign in to comment.