@@ 7415-7444 (lines=30) @@ | ||
7412 | return opt.complete.call(this); |
|
7413 | } |
|
7414 | ||
7415 | if ( isElement && ( p === "height" || p === "width" ) ) { |
|
7416 | // Make sure that nothing sneaks out |
|
7417 | // Record all 3 overflow attributes because IE does not |
|
7418 | // change the overflow attribute when overflowX and |
|
7419 | // overflowY are set to the same value |
|
7420 | opt.overflow = [ this.style.overflow, this.style.overflowX, this.style.overflowY ]; |
|
7421 | ||
7422 | // Set display property to inline-block for height/width |
|
7423 | // animations on inline elements that are having width/height |
|
7424 | // animated |
|
7425 | if ( jQuery.css( this, "display" ) === "inline" && |
|
7426 | jQuery.css( this, "float" ) === "none" ) { |
|
7427 | if ( !jQuery.support.inlineBlockNeedsLayout ) { |
|
7428 | this.style.display = "inline-block"; |
|
7429 | ||
7430 | } else { |
|
7431 | var display = defaultDisplay(this.nodeName); |
|
7432 | ||
7433 | // inline-level elements accept inline-block; |
|
7434 | // block-level elements need to be inline with layout |
|
7435 | if ( display === "inline" ) { |
|
7436 | this.style.display = "inline-block"; |
|
7437 | ||
7438 | } else { |
|
7439 | this.style.display = "inline"; |
|
7440 | this.style.zoom = 1; |
|
7441 | } |
|
7442 | } |
|
7443 | } |
|
7444 | } |
|
7445 | ||
7446 | if ( jQuery.isArray( prop[p] ) ) { |
|
7447 | // Create (if needed) and add to specialEasing |
@@ 8390-8411 (lines=22) @@ | ||
8387 | return opt.complete.call( this ); |
|
8388 | } |
|
8389 | ||
8390 | if ( isElement && ( name === "height" || name === "width" ) ) { |
|
8391 | // Make sure that nothing sneaks out |
|
8392 | // Record all 3 overflow attributes because IE does not |
|
8393 | // change the overflow attribute when overflowX and |
|
8394 | // overflowY are set to the same value |
|
8395 | opt.overflow = [ this.style.overflow, this.style.overflowX, this.style.overflowY ]; |
|
8396 | ||
8397 | // Set display property to inline-block for height/width |
|
8398 | // animations on inline elements that are having width/height animated |
|
8399 | if ( jQuery.css( this, "display" ) === "inline" && |
|
8400 | jQuery.css( this, "float" ) === "none" ) { |
|
8401 | ||
8402 | // inline-level elements accept inline-block; |
|
8403 | // block-level elements need to be inline with layout |
|
8404 | if ( !jQuery.support.inlineBlockNeedsLayout || defaultDisplay( this.nodeName ) === "inline" ) { |
|
8405 | this.style.display = "inline-block"; |
|
8406 | ||
8407 | } else { |
|
8408 | this.style.zoom = 1; |
|
8409 | } |
|
8410 | } |
|
8411 | } |
|
8412 | } |
|
8413 | ||
8414 | if ( opt.overflow != null ) { |