diff --git a/test/unit/attributes.js b/test/unit/attributes.js index fa30ff04..f3f0bab2 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." );