]> source.dussan.org Git - jquery.git/commitdiff
Had some stale code in test/unit/attributes.js 296/head
authortimmywil <tim.willison@thisismedium.com>
Sun, 10 Apr 2011 19:40:49 +0000 (15:40 -0400)
committertimmywil <tim.willison@thisismedium.com>
Sun, 10 Apr 2011 19:40:49 +0000 (15:40 -0400)
test/unit/attributes.js

index fa30ff042aeec7d1246674314f485030f10a464d..f3f0bab2b77b20f10738c50b53ef96bf2d8b12a9 100644 (file)
@@ -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('<img style="display:none" width="215" height="53" src="http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif"/>').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." );