blob: cc90b7d629f9bef64ef8e825a1289ba37b5ffc2a [file] [log] [blame]
Test to make sure border-radius shorthand property returns CSSValueList properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS computedStyle.getPropertyValue('border-radius') is '64px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '64px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '32px 16px 64px / 8px 48px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '32px 16px 64px / 8px 48px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '32px 8px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '16px 48px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '64px 8px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '16px 48px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '64px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '64px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '1px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '2px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '2px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px 6px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px 6px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '6px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px 6px / 64px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px 6px / 64px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px 64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px 64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px 64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '6px 64px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px 6px / 64px 3px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px 6px / 64px 3px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px 64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px 3px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px 64px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '6px 3px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px 6px / 64px 3px 7px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px 6px / 64px 3px 7px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px 64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px 3px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px 7px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '6px 3px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '1px 2px 4px 6px / 64px 3px 7px 8px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '1px 2px 4px 6px / 64px 3px 7px 8px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '1px 64px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '2px 3px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '4px 7px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '6px 8px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '10px 20px 30px 40px / 15px 25px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '10px 20px 30px 40px / 15px 25px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '10px 15px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '20px 25px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '30px 35px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '40px 45px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '10px 20px 30px 40px / 10px 25px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '10px 20px 30px 40px / 10px 25px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '10px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '20px 25px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '30px 35px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '40px 45px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '10px 20px 30px 40px / 10px 20px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '10px 20px 30px 40px / 10px 20px 35px 45px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '10px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '20px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '30px 35px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '40px 45px'
PASS checkComputedStyleValue() is true
PASS computedStyle.getPropertyValue('border-radius') is '10px 20px 30px 40px / 10px 20px 30px 45px'
PASS computedStyle.getPropertyCSSValue('border-radius').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('border-radius').cssText is '10px 20px 30px 40px / 10px 20px 30px 45px'
PASS computedStyle.getPropertyCSSValue('border-top-left-radius').cssText is '10px'
PASS computedStyle.getPropertyCSSValue('border-top-right-radius').cssText is '20px'
PASS computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssText is '30px'
PASS computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText is '40px 45px'
PASS checkComputedStyleValue() is true
PASS successfullyParsed is true
TEST COMPLETE