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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test to make sure text-decoration longhand values are accepted in every possible ordering in shorthand.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 -line -style -color ordering (underline dashed red):
7 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
8 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
9 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'red'
10
11 -line -color -style ordering (overline blue dotted):
12 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline'
13 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dotted'
14 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'blue'
15
16 -style -line -color ordering (double line-through underline overline green):
17 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-throug h underline overline'
18 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'double'
19 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'green'
20
21 -style -color -line ordering (wavy yellow line-through):
22 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-throug h'
23 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'wavy'
24 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'yellow'
25
26 -color -line -style ordering (black underline solid):
27 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
28 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'solid'
29 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'black'
30
31 -color style -line -style ordering (navy dashed overline):
32 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline'
33 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed'
34 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'navy'
35
36 PASS successfullyParsed is true
37
38 TEST COMPLETE
39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698