| Index: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt
|
| diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt
|
| index 84b9e375c5830a6922f12505f7140d786316140c..3bd1070329e13eb0ecd01f63e9d9e8f319568149 100644
|
| --- a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt
|
| +++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt
|
| @@ -5,87 +5,87 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
|
|
|
| Initial value:
|
| PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is null
|
| -PASS computedStyle.webkitTextDecorationLine is 'none'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'none'
|
| +FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Initial value (explicit):
|
| PASS e.style.webkitTextDecorationLine is 'initial'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'initial'
|
| -PASS computedStyle.webkitTextDecorationLine is 'none'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'none'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'none':
|
| PASS e.style.webkitTextDecorationLine is 'none'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSPrimitiveValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'none'
|
| -PASS computedStyle.webkitTextDecorationLine is 'none'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'none'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'underline':
|
| PASS e.style.webkitTextDecorationLine is 'underline'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline'
|
| -PASS computedStyle.webkitTextDecorationLine is 'underline'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be underline (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'overline':
|
| PASS e.style.webkitTextDecorationLine is 'overline'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'overline'
|
| -PASS computedStyle.webkitTextDecorationLine is 'overline'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'overline'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be overline. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be overline (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be overline. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'line-through':
|
| PASS e.style.webkitTextDecorationLine is 'line-through'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'line-through'
|
| -PASS computedStyle.webkitTextDecorationLine is 'line-through'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'line-through'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be line-through (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'underline overline line-through':
|
| PASS e.style.webkitTextDecorationLine is 'underline overline line-through'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline overline line-through'
|
| -PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline overline line-through'
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline overline line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be underline overline line-through (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline overline line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value 'blink' (invalid, last valid value is used):
|
| -PASS e.style.webkitTextDecorationLine is 'underline overline line-through'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline overline line-through'
|
| -PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline overline line-through'
|
| +FAIL e.style.webkitTextDecorationLine should be underline overline line-through. Was blink.
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline overline line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be underline overline line-through (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline overline line-through. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Value '':
|
| PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is null
|
| -PASS computedStyle.webkitTextDecorationLine is 'none'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSPrimitiveValue]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'none'
|
| +FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be none. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Parent gets 'underline' value:
|
| -PASS e.style.webkitTextDecorationLine is 'underline'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline'
|
| -PASS computedStyle.webkitTextDecorationLine is 'underline'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline'
|
| +FAIL e.style.webkitTextDecorationLine should be underline (of type string). Was undefined (of type undefined).
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be underline (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| Ancestor should explicitly inherit value from parent when 'inherit' value is used:
|
| -PASS e.style.webkitTextDecorationLine is 'inherit'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValue]'
|
| -PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'inherit'
|
| -PASS computedStyle.webkitTextDecorationLine is 'underline'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '[object CSSValueList]'
|
| -PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'underline'
|
| +FAIL e.style.webkitTextDecorationLine should be inherit (of type string). Was undefined (of type undefined).
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be inherit. Threw exception TypeError: Cannot read property 'cssText' of null
|
| +FAIL computedStyle.webkitTextDecorationLine should be underline (of type string). Was undefined (of type undefined).
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString() should be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toString' of null
|
| +FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText should be underline. Threw exception TypeError: Cannot read property 'cssText' of null
|
|
|
| PASS successfullyParsed is true
|
|
|
|
|