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

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

Issue 22414006: Revert "Revert "[css3-text] Implement text-decoration property shorthand"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing skipped test to TestExpectations 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/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-ordering-expected.txt
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-ordering-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-ordering-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab60c1ef2d60692304aa2334aba4a1f434922af6
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-shorthand-ordering-expected.txt
@@ -0,0 +1,39 @@
+Test to make sure text-decoration longhand values are accepted in every possible ordering in shorthand.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+-line -style -color ordering (underline dashed red):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'red'
+
+-line -color -style ordering (overline blue dotted):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dotted'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'blue'
+
+-style -line -color ordering (double line-through underline overline green):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-through underline overline'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'double'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'green'
+
+-style -color -line ordering (wavy yellow line-through):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-through'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'wavy'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'yellow'
+
+-color -line -style ordering (black underline solid):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'solid'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'black'
+
+-color style -line -style ordering (navy dashed overline):
+PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline'
+PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
+PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'navy'
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698