@@ -56,8 +56,6 @@ function testWidth( val, assert ) {
5656 assert . equal ( blah . width ( ) , null , "Make sure 'null' is returned on an empty set" ) ;
5757
5858 assert . equal ( jQuery ( window ) . width ( ) , document . documentElement . clientWidth , "Window width is equal to width reported by window/document." ) ;
59-
60- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
6159}
6260
6361QUnit . test ( "width()" , function ( assert ) {
@@ -109,8 +107,6 @@ function testHeight( val, assert ) {
109107 assert . equal ( blah . height ( ) , null , "Make sure 'null' is returned on an empty set" ) ;
110108
111109 assert . equal ( jQuery ( window ) . height ( ) , document . documentElement . clientHeight , "Window width is equal to width reported by window/document." ) ;
112-
113- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
114110}
115111
116112QUnit . test ( "height()" , function ( assert ) {
@@ -165,7 +161,6 @@ QUnit.test( "innerWidth()", function( assert ) {
165161 assert . equal ( div . innerWidth ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
166162
167163 div . remove ( ) ;
168- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
169164} ) ;
170165
171166QUnit . test ( "innerHeight()" , function ( assert ) {
@@ -200,7 +195,6 @@ QUnit.test( "innerHeight()", function( assert ) {
200195 assert . equal ( div . innerHeight ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
201196
202197 div . remove ( ) ;
203- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
204198} ) ;
205199
206200QUnit . test ( "outerWidth()" , function ( assert ) {
@@ -239,7 +233,6 @@ QUnit.test( "outerWidth()", function( assert ) {
239233 assert . equal ( div . outerWidth ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
240234
241235 div . remove ( ) ;
242- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
243236} ) ;
244237
245238QUnit . test ( "child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #9441 #9300" , function ( assert ) {
@@ -395,7 +388,6 @@ QUnit.test( "outerHeight()", function( assert ) {
395388 assert . equal ( div . outerHeight ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
396389
397390 div . remove ( ) ;
398- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
399391} ) ;
400392
401393QUnit . test ( "passing undefined is a setter #5571" , function ( assert ) {
0 commit comments