Index: LayoutTests/platform/chromium-mac-lion/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt |
diff --git a/LayoutTests/platform/chromium-mac-lion/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt b/LayoutTests/platform/chromium-mac-lion/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt |
index 3bd1070329e13eb0ecd01f63e9d9e8f319568149..457f77a19dbefcfb03718dd557d26705bbfbe8d7 100644 |
--- a/LayoutTests/platform/chromium-mac-lion/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt |
+++ b/LayoutTests/platform/chromium-mac-lion/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt |
@@ -1,91 +1,91 @@ |
-Test to make sure -webkit-text-decoration-line property returns values properly. |
+Test to make sure text-decoration-line property returns values properly. |
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 |
-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 |
+PASS e.style.getPropertyCSSValue('text-decoration-line') is null |
+PASS computedStyle.textDecorationLine is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none' |
Initial value (explicit): |
-PASS e.style.webkitTextDecorationLine is 'initial' |
-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 |
+PASS e.style.textDecorationLine is 'initial' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'initial' |
+PASS computedStyle.textDecorationLine is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none' |
Value 'none': |
-PASS e.style.webkitTextDecorationLine 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 |
+PASS e.style.textDecorationLine is 'none' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'none' |
+PASS computedStyle.textDecorationLine is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none' |
Value 'underline': |
-PASS e.style.webkitTextDecorationLine 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 |
+PASS e.style.textDecorationLine is 'underline' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
+PASS computedStyle.textDecorationLine is 'underline' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
Value 'overline': |
-PASS e.style.webkitTextDecorationLine 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 |
+PASS e.style.textDecorationLine is 'overline' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline' |
+PASS computedStyle.textDecorationLine is 'overline' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'overline' |
Value 'line-through': |
-PASS e.style.webkitTextDecorationLine 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 |
+PASS e.style.textDecorationLine is 'line-through' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-through' |
+PASS computedStyle.textDecorationLine is 'line-through' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'line-through' |
Value 'underline overline line-through': |
-PASS e.style.webkitTextDecorationLine 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 |
+PASS e.style.textDecorationLine is 'underline overline line-through' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through' |
+PASS computedStyle.textDecorationLine is 'underline overline line-through' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through' |
Value 'blink' (invalid, last valid value is used): |
-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 |
+PASS e.style.textDecorationLine is 'underline overline line-through' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through' |
+PASS computedStyle.textDecorationLine is 'underline overline line-through' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline overline line-through' |
Value '': |
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is 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 |
+PASS e.style.getPropertyCSSValue('text-decoration-line') is null |
+PASS computedStyle.textDecorationLine is 'none' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none' |
Parent gets 'underline' value: |
-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 |
+PASS e.style.textDecorationLine is 'underline' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
+PASS computedStyle.textDecorationLine is 'underline' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
Ancestor should explicitly inherit value from parent when 'inherit' value is used: |
-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 e.style.textDecorationLine is 'inherit' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]' |
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'inherit' |
+PASS computedStyle.textDecorationLine is 'underline' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]' |
+PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
PASS successfullyParsed is true |