From 5c51caa03824a86ca841aa9613b05f1ad5750228 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 15 Jan 2013 22:15:12 -0500 Subject: [PATCH] remove unnecessary DOM manipulation --- test/unit/selector.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/unit/selector.js b/test/unit/selector.js index 5a950ade..972f629c 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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" ] ); });