blob: c537fd050d8b62092441e1c7764cb564b045a1cb [file]
Test to make sure -webkit-columns property returns CSSValueList properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS computedStyle.getPropertyValue('-webkit-columns') is "10px 2"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSValueList]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "10px 2"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').length is 2
PASS computedStyle.getPropertyCSSValue('-webkit-columns').item(0).getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
PASS computedStyle.getPropertyCSSValue('-webkit-columns').item(1).getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 2
PASS computedStyle.getPropertyValue('-webkit-columns') is "10px"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSPrimitiveValue]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "10px"
PASS computedStyle.getPropertyValue('-webkit-columns') is "2"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSPrimitiveValue]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "2"
PASS computedStyle.getPropertyValue('-webkit-columns') is "2"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSPrimitiveValue]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "2"
PASS computedStyle.getPropertyValue('-webkit-columns') is "auto"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSPrimitiveValue]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "auto"
PASS computedStyle.getPropertyValue('-webkit-columns') is "10px"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').toString() is "[object CSSPrimitiveValue]"
PASS computedStyle.getPropertyCSSValue('-webkit-columns').cssText is "10px"
PASS successfullyParsed is true
TEST COMPLETE