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

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

Issue 22405003: Revert "[css3-text] Implement text-decoration property shorthand" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt
diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt
index c6b176f6946627eb55eb4fef43a03c12844d6164..7bf394ba6b367cf1263d33651c592bbfab76d578 100644
--- a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt
+++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt
@@ -5,75 +5,93 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Initial value:
PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
-PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
Initial value (explicit):
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
-PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'initial'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValue]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'initial'
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
Value 'none':
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
-PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'none'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'none'
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
Value 'underline':
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'underline'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline'
+PASS computedStyle.textDecoration is 'underline'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
Value 'overline':
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'overline solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'overline'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'overline'
+PASS computedStyle.textDecoration is 'overline'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'overline solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'overline'
Value 'line-through':
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'line-through'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'line-through'
+PASS computedStyle.textDecoration is 'line-through'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'line-through solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'line-through'
Value 'underline overline line-through':
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'underline overline line-through solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'underline overline line-through'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through'
+PASS computedStyle.textDecoration is 'underline overline line-through'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through'
Value 'blink' (valid but ignored):
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
-PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'blink'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'blink'
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
Value '':
PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
-PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)'
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
Parent gets 'underline' value:
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'underline'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline'
+PASS computedStyle.textDecoration is 'underline'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
Ancestor should explicitly inherit value from parent when 'inherit' value is used:
-PASS e.style.getPropertyCSSValue('text-decoration') is null
-PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
+PASS e.style.textDecoration is 'inherit'
+PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSValue]'
+PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit'
+PASS computedStyle.textDecoration is 'underline'
PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
-PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
Ancestor should not implicitly inherit value from parent (i.e. when value is void):
PASS e.style.getPropertyCSSValue('text-decoration') is null
-FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0).
-FAIL computedStyle.getPropertyCSSValue('text-decoration').toString() should be [object CSSPrimitiveValue]. Was [object CSSValueList].
-FAIL computedStyle.getPropertyCSSValue('text-decoration').cssText should be none. Was none solid rgb(0, 0, 0).
+PASS computedStyle.textDecoration is 'none'
+PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
+PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698