Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt

Issue 14631011: Update TestExpectations entries for previously skipped tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt
index 6cb5c68835bb6b9a9c698b50648e317cdd421a1e..924f8354cdedbb1300c1ecb72f60de850c56b3ed 100644
--- a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt
@@ -5,96 +5,96 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Ancestor should not inherit 'green' value from parent (fallback to initial value):
PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 0) (of type string). Was undefined (of type undefined).
Parent should contain 'green':
-PASS e.style.webkitTextDecorationColor is 'green'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'green'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 128, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 128, 0)'
+FAIL e.style.webkitTextDecorationColor should be green (of type string). Was undefined (of type undefined).
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be green. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 128, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 128, 0) (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-color') is null
Valid value 'blue':
PASS e.style.webkitTextDecorationColor is 'blue'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'blue'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 255)'
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be blue. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 255). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 255) (of type string). Was undefined (of type undefined).
Valid value '#FFFFFF':
-PASS e.style.webkitTextDecorationColor is 'rgb(255, 255, 255)'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 255, 255)'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 255, 255)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(255, 255, 255)'
+FAIL e.style.webkitTextDecorationColor should be rgb(255, 255, 255). Was #FFFFFF.
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(255, 255, 255). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(255, 255, 255). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(255, 255, 255) (of type string). Was undefined (of type undefined).
Valid value 'rgb(0, 255, 0)':
PASS e.style.webkitTextDecorationColor is 'rgb(0, 255, 0)'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 255, 0)'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 255, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 255, 0)'
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 255, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 255, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 255, 0) (of type string). Was undefined (of type undefined).
Valid value 'rgba(100, 100, 100, 0.5)':
-PASS e.style.webkitTextDecorationColor is 'rgba(100, 100, 100, 0.498039)'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(100, 100, 100, 0.498039)'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(100, 100, 100, 0.498039)'
-PASS computedStyle.webkitTextDecorationColor is 'rgba(100, 100, 100, 0.498039)'
+FAIL e.style.webkitTextDecorationColor should be rgba(100, 100, 100, 0.498039). Was rgba(100, 100, 100, 0.5).
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgba(100, 100, 100, 0.498039). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgba(100, 100, 100, 0.498039). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgba(100, 100, 100, 0.498039) (of type string). Was undefined (of type undefined).
Valid value 'hsl(240, 100%, 50%)':
-PASS e.style.webkitTextDecorationColor is 'rgb(0, 0, 255)'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 255)'
+FAIL e.style.webkitTextDecorationColor should be rgb(0, 0, 255). Was hsl(240, 100%, 50%).
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 255). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 255). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 255) (of type string). Was undefined (of type undefined).
Valid value 'hsla(240, 100%, 50%, 0.5)':
-PASS e.style.webkitTextDecorationColor is 'rgba(0, 0, 255, 0.498039)'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(0, 0, 255, 0.498039)'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(0, 0, 255, 0.498039)'
-PASS computedStyle.webkitTextDecorationColor is 'rgba(0, 0, 255, 0.498039)'
+FAIL e.style.webkitTextDecorationColor should be rgba(0, 0, 255, 0.498039). Was hsla(240, 100%, 50%, 0.5).
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgba(0, 0, 255, 0.498039). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgba(0, 0, 255, 0.498039). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgba(0, 0, 255, 0.498039) (of type string). Was undefined (of type undefined).
Initial value:
PASS e.style.webkitTextDecorationColor is 'initial'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'initial'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 0) (of type string). Was undefined (of type undefined).
Invalid value (ie. 'unknown'):
-PASS e.style.webkitTextDecorationColor is 'initial'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSValue]'
-PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'initial'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
+FAIL e.style.webkitTextDecorationColor should be initial. Was unknown.
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be initial. Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 0) (of type string). Was undefined (of type undefined).
Empty value (resets the property):
PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 0, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 0, 0) (of type string). Was undefined (of type undefined).
Empty value with different 'currentColor' initial value (green):
PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 128, 0)'
-PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 128, 0)'
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method 'toString' of null
+FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText should be rgb(0, 128, 0). Threw exception TypeError: Cannot read property 'cssText' of null
+FAIL computedStyle.webkitTextDecorationColor should be rgb(0, 128, 0) (of type string). Was undefined (of type undefined).
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698