diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-04-10 15:40:49 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-04-10 15:40:49 -0400 |
commit | da89d8768cb53daac59f17a8acd8e6323a4d3be6 (patch) | |
tree | b826fef16b9f78d76c6b1ad1e1ce8409f713a1d2 /test/unit | |
parent | 3a1b4661f5b8249ce7a741084824ec5445c75719 (diff) | |
download | jquery-da89d8768cb53daac59f17a8acd8e6323a4d3be6.tar.gz jquery-da89d8768cb53daac59f17a8acd8e6323a4d3be6.zip |
Had some stale code in test/unit/attributes.js
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/attributes.js | 4 |
1 files changed, 0 insertions, 4 deletions
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('<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." ); |