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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt

Issue 1412803007: Parse text-decoration shorthand in CSSPropertyParser with CSSParserTokens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test to make sure text-decoration property returns values properly. 1 Test to make sure text-decoration property returns values properly.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Initial value: 6 Initial value:
7 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 7 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
8 8
9 Initial value (explicit): 9 Initial value (explicit):
10 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 10 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
(...skipping 10 matching lines...) Expand all
21 Value 'line-through': 21 Value 'line-through':
22 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)' 22 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)'
23 23
24 Value 'underline overline line-through': 24 Value 'underline overline line-through':
25 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb( 0, 0, 0)' 25 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb( 0, 0, 0)'
26 26
27 Value 'blink' (valid but ignored): 27 Value 'blink' (valid but ignored):
28 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 28 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
29 29
30 Value 'overline overline' (invalid): 30 Value 'overline overline' (invalid):
31 FAIL computedStyle.textDecoration should be none solid rgb(0, 0, 0). Was overlin e solid rgb(0, 0, 0). 31 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
32 32
33 Value 'underline blank' (invalid): 33 Value 'underline blank' (invalid):
34 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 34 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
35 35
36 Value '': 36 Value '':
37 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 37 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
38 38
39 Parent gets 'underline' value: 39 Parent gets 'underline' value:
40 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' 40 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
41 41
42 Ancestor should explicitly inherit value from parent when 'inherit' value is use d: 42 Ancestor should explicitly inherit value from parent when 'inherit' value is use d:
43 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' 43 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
44 44
45 Ancestor should not implicitly inherit value from parent (i.e. when value is voi d): 45 Ancestor should not implicitly inherit value from parent (i.e. when value is voi d):
46 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0). 46 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0).
47 47
48 PASS successfullyParsed is true 48 PASS successfullyParsed is true
49 49
50 TEST COMPLETE 50 TEST COMPLETE
51 51
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698