( elem, value, subtract )
| 6506 | } |
| 6507 | |
| 6508 | function setPositiveNumber( elem, value, subtract ) { |
| 6509 | var matches = rnumsplit.exec( value ); |
| 6510 | return matches ? |
| 6511 | // Guard against undefined "subtract", e.g., when used as in cssHooks |
| 6512 | Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : |
| 6513 | value; |
| 6514 | } |
| 6515 | |
| 6516 | function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { |
| 6517 | var i = extra === ( isBorderBox ? "border" : "content" ) ? |