@@ -56,8 +56,6 @@ function testWidth( val, assert ) {
56
56
assert . equal ( blah . width ( ) , null , "Make sure 'null' is returned on an empty set" ) ;
57
57
58
58
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" ) ;
61
59
}
62
60
63
61
QUnit . test ( "width()" , function ( assert ) {
@@ -109,8 +107,6 @@ function testHeight( val, assert ) {
109
107
assert . equal ( blah . height ( ) , null , "Make sure 'null' is returned on an empty set" ) ;
110
108
111
109
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" ) ;
114
110
}
115
111
116
112
QUnit . test ( "height()" , function ( assert ) {
@@ -165,7 +161,6 @@ QUnit.test( "innerWidth()", function( assert ) {
165
161
assert . equal ( div . innerWidth ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
166
162
167
163
div . remove ( ) ;
168
- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
169
164
} ) ;
170
165
171
166
QUnit . test ( "innerHeight()" , function ( assert ) {
@@ -200,7 +195,6 @@ QUnit.test( "innerHeight()", function( assert ) {
200
195
assert . equal ( div . innerHeight ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
201
196
202
197
div . remove ( ) ;
203
- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
204
198
} ) ;
205
199
206
200
QUnit . test ( "outerWidth()" , function ( assert ) {
@@ -239,7 +233,6 @@ QUnit.test( "outerWidth()", function( assert ) {
239
233
assert . equal ( div . outerWidth ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
240
234
241
235
div . remove ( ) ;
242
- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
243
236
} ) ;
244
237
245
238
QUnit . 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 ) {
395
388
assert . equal ( div . outerHeight ( ) , 0 , "Make sure that disconnected nodes are handled." ) ;
396
389
397
390
div . remove ( ) ;
398
- assert . expectJqData ( this , $div [ 0 ] , "olddisplay" ) ;
399
391
} ) ;
400
392
401
393
QUnit . test ( "passing undefined is a setter #5571" , function ( assert ) {
0 commit comments