From: timmywil Date: Sun, 10 Apr 2011 19:40:49 +0000 (-0400) Subject: Had some stale code in test/unit/attributes.js X-Git-Tag: 1.6b1~27^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F296%2Fhead;p=jquery.git Had some stale code in test/unit/attributes.js --- diff --git a/test/unit/attributes.js b/test/unit/attributes.js index fa30ff042..f3f0bab2b 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -127,10 +127,6 @@ test("attr(String)", function() { body.removeAttribute('foo'); // Cleanup - var select = document.createElement("select"), optgroup = document.createElement("optgroup"), option = document.createElement("option"); - optgroup.appendChild( option ); - select.appendChild( optgroup ); - var $img = jQuery('').appendTo('body'); equals( $img.attr('width'), "215", "Retrieve width attribute an an element with display:none." ); equals( $img.attr('height'), "53", "Retrieve height attribute an an element with display:none." );