| Index: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt
|
| index 3e76af4690193c26177c567b75ea1fe839d9789d..c7cfe2211edc68ade5cd1be6ed3ae81008fa4bd6 100644
|
| --- a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt
|
| +++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt
|
| @@ -5,90 +5,90 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
|
|
|
| Ancestor should not inherit 'dashed' value from parent (fallback to initial 'solid' value):
|
| PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| Parent should cointain 'dashed':
|
| -PASS e.style.webkitTextDecorationStyle is 'dashed'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dashed'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dashed'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'dashed'
|
| +FAIL e.style.webkitTextDecorationStyle should be dashed (of type string). Was undefined (of type undefined).
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dashed. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dashed. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be dashed (of type string). Was undefined (of type undefined).
|
|
|
| JavaScript setter tests for valid, initial, invalid and blank values:
|
| PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null
|
|
|
| Valid value 'solid':
|
| PASS e.style.webkitTextDecorationStyle is 'solid'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| Valid value 'double':
|
| PASS e.style.webkitTextDecorationStyle is 'double'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'double'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'double'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'double'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be double. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be double. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be double (of type string). Was undefined (of type undefined).
|
|
|
| Valid value 'dotted':
|
| PASS e.style.webkitTextDecorationStyle is 'dotted'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dotted'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dotted'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'dotted'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dotted. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dotted. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be dotted (of type string). Was undefined (of type undefined).
|
|
|
| Valid value 'dashed':
|
| PASS e.style.webkitTextDecorationStyle is 'dashed'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dashed'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'dashed'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'dashed'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dashed. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be dashed. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be dashed (of type string). Was undefined (of type undefined).
|
|
|
| Valid value 'wavy':
|
| PASS e.style.webkitTextDecorationStyle is 'wavy'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'wavy'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'wavy'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'wavy'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be wavy. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be wavy. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be wavy (of type string). Was undefined (of type undefined).
|
|
|
| Initial value:
|
| PASS e.style.webkitTextDecorationStyle is 'initial'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'initial'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| Invalid value (this property accepts one value at a time only):
|
| -PASS e.style.webkitTextDecorationStyle is 'initial'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'initial'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL e.style.webkitTextDecorationStyle should be initial. Was double dotted.
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| Invalid value (ie. 'unknown'):
|
| -PASS e.style.webkitTextDecorationStyle is 'initial'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'initial'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL e.style.webkitTextDecorationStyle should be initial. Was unknown.
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| Empty value (resets the property):
|
| PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'solid'
|
| -PASS computedStyle.webkitTextDecorationStyle is 'solid'
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText should be solid. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). Was undefined (of type undefined).
|
|
|
| PASS successfullyParsed is true
|
|
|
|
|