blob: 319f4a9459771959da727296a19f9ba815d62293 [file] [log] [blame]
Test to make sure list-style shorthand property returns CSSValueList properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS computedStyle.getPropertyValue('list-style') is 'outside url("dummy://test.png") circle'
PASS computedStyle.getPropertyCSSValue('list-style').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('list-style').length is 3
PASS computedStyle.getPropertyCSSValue('list-style').cssText is 'outside url("dummy://test.png") circle'
PASS computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue() is 'outside'
PASS computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue() is 'dummy://test.png'
PASS computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue() is 'circle'
PASS computedStyle.getPropertyValue('list-style') is 'outside none disc'
PASS computedStyle.getPropertyCSSValue('list-style').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('list-style').length is 3
PASS computedStyle.getPropertyCSSValue('list-style').cssText is 'outside none disc'
PASS computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue() is 'outside'
PASS computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue() is 'none'
PASS computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue() is 'disc'
PASS computedStyle.getPropertyValue('list-style') is 'outside none circle'
PASS computedStyle.getPropertyCSSValue('list-style').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('list-style').length is 3
PASS computedStyle.getPropertyCSSValue('list-style').cssText is 'outside none circle'
PASS computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue() is 'outside'
PASS computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue() is 'none'
PASS computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue() is 'circle'
PASS computedStyle.getPropertyValue('list-style') is 'outside none none'
PASS computedStyle.getPropertyCSSValue('list-style').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('list-style').length is 3
PASS computedStyle.getPropertyCSSValue('list-style').cssText is 'outside none none'
PASS computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue() is 'outside'
PASS computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue() is 'none'
PASS computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue() is 'none'
PASS computedStyle.getPropertyValue('list-style') is 'outside url("dummy://test.png") circle'
PASS computedStyle.getPropertyCSSValue('list-style').toString() is '[object CSSValueList]'
PASS computedStyle.getPropertyCSSValue('list-style').length is 3
PASS computedStyle.getPropertyCSSValue('list-style').cssText is 'outside url("dummy://test.png") circle'
PASS computedStyle.getPropertyCSSValue('list-style').item(0).getStringValue() is 'outside'
PASS computedStyle.getPropertyCSSValue('list-style').item(1).getStringValue() is 'dummy://test.png'
PASS computedStyle.getPropertyCSSValue('list-style').item(2).getStringValue() is 'circle'
PASS successfullyParsed is true
TEST COMPLETE