( prop )
| 5408 | rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/; |
| 5409 | |
| 5410 | function isAutoPx( prop ) { |
| 5411 | |
| 5412 | // The first test is used to ensure that: |
| 5413 | // 1. The prop starts with a lowercase letter (as we uppercase it for the second regex). |
| 5414 | // 2. The prop is not empty. |
| 5415 | return ralphaStart.test( prop ) && |
| 5416 | rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) ); |
| 5417 | } |
| 5418 | |
| 5419 | // Matches dashed string for camelizing |
| 5420 | var rmsPrefix = /^-ms-/; |
no outgoing calls
no test coverage detected