( elem, value, subtract )
| 6936 | } |
| 6937 | |
| 6938 | function setPositiveNumber( elem, value, subtract ) { |
| 6939 | var matches = rnumsplit.exec( value ); |
| 6940 | return matches ? |
| 6941 | |
| 6942 | // Guard against undefined "subtract", e.g., when used as in cssHooks |
| 6943 | Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : |
| 6944 | value; |
| 6945 | } |
| 6946 | |
| 6947 | function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { |
| 6948 | var i = extra === ( isBorderBox ? "border" : "content" ) ? |