File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ jQuery.support = (function() {
94
94
pixelMargin : true
95
95
} ;
96
96
97
- //jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
98
- jQuery . boxModel = support . boxModel = document . compatMode === "CSS1Compat" ;
97
+ // jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
98
+ jQuery . boxModel = support . boxModel = ( document . compatMode === "CSS1Compat" ) ;
99
99
100
100
// Make sure checked status is properly cloned
101
101
input . checked = true ;
@@ -239,11 +239,6 @@ jQuery.support = (function() {
239
239
( parseInt ( ( window . getComputedStyle ( marginDiv , null ) || { marginRight : 0 } ) . marginRight , 10 ) || 0 ) === 0 ;
240
240
}
241
241
242
- // Figure out if the W3C box model works as expected
243
- div . innerHTML = "" ;
244
- div . style . width = div . style . paddingLeft = "1px" ;
245
- jQuery . boxModel = support . boxModel = div . offsetWidth === 2 ;
246
-
247
242
if ( typeof div . style . zoom !== "undefined" ) {
248
243
// Check if natively block-level elements act like inline-block
249
244
// elements when setting their display to 'inline' and giving
You can’t perform that action at this time.
0 commit comments