( elem, value, subtract )
| 7014 | } |
| 7015 | |
| 7016 | function setPositiveNumber( elem, value, subtract ) { |
| 7017 | var matches = rnumsplit.exec( value ); |
| 7018 | return matches ? |
| 7019 | // Guard against undefined "subtract", e.g., when used as in cssHooks |
| 7020 | Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : |
| 7021 | value; |
| 7022 | } |
| 7023 | |
| 7024 | function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { |
| 7025 | var i = extra === ( isBorderBox ? "border" : "content" ) ? |