( elem, value, subtract )
| 5678 | } |
| 5679 | |
| 5680 | function setPositiveNumber( elem, value, subtract ) { |
| 5681 | var matches = rnumsplit.exec( value ); |
| 5682 | return matches ? |
| 5683 | // Guard against undefined "subtract", e.g., when used as in cssHooks |
| 5684 | Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : |
| 5685 | value; |
| 5686 | } |
| 5687 | |
| 5688 | function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { |
| 5689 | var i = extra === ( isBorderBox ? "border" : "content" ) ? |