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

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

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed updated on text-underline-position for now (to be discussed & re-added later) 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-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..457f77a19dbefcfb03718dd557d26705bbfbe8d7 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
@@ -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
-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'
+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'
-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'
+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'
-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'
+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'
-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'
+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'
-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'
+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'
-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'
+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'
-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'
+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):
-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'
+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
-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'
+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:
-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'
+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:
-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'
+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

Powered by Google App Engine
This is Rietveld 408576698