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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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 e.style.getPropertyCSSValue('text-decoration') is null 7 PASS e.style.getPropertyCSSValue('text-decoration') is null
8 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 8 PASS computedStyle.textDecoration is 'none'
9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)' 10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
11 11
12 Initial value (explicit): 12 Initial value (explicit):
13 PASS e.style.getPropertyCSSValue('text-decoration') is null 13 PASS e.style.textDecoration is 'initial'
14 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 14 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lue]'
15 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 15 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'initial'
16 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)' 16 PASS computedStyle.textDecoration is 'none'
17 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
18 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
17 19
18 Value 'none': 20 Value 'none':
19 PASS e.style.getPropertyCSSValue('text-decoration') is null 21 PASS e.style.textDecoration is 'none'
20 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 22 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSPr imitiveValue]'
21 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 23 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'none'
22 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)' 24 PASS computedStyle.textDecoration is 'none'
25 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
26 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
23 27
24 Value 'underline': 28 Value 'underline':
25 PASS e.style.getPropertyCSSValue('text-decoration') is null 29 PASS e.style.textDecoration is 'underline'
26 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' 30 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
31 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline'
32 PASS computedStyle.textDecoration is 'underline'
27 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 33 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
28 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)' 34 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
29 35
30 Value 'overline': 36 Value 'overline':
31 PASS e.style.getPropertyCSSValue('text-decoration') is null 37 PASS e.style.textDecoration is 'overline'
32 PASS computedStyle.textDecoration is 'overline solid rgb(0, 0, 0)' 38 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
39 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'overline'
40 PASS computedStyle.textDecoration is 'overline'
33 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 41 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
34 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'overline s olid rgb(0, 0, 0)' 42 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'overline'
35 43
36 Value 'line-through': 44 Value 'line-through':
37 PASS e.style.getPropertyCSSValue('text-decoration') is null 45 PASS e.style.textDecoration is 'line-through'
38 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)' 46 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
47 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'line-through'
48 PASS computedStyle.textDecoration is 'line-through'
39 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 49 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
40 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'line-throu gh solid rgb(0, 0, 0)' 50 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'line-throu gh'
41 51
42 Value 'underline overline line-through': 52 Value 'underline overline line-through':
43 PASS e.style.getPropertyCSSValue('text-decoration') is null 53 PASS e.style.textDecoration is 'underline overline line-through'
44 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb( 0, 0, 0)' 54 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
55 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline overli ne line-through'
56 PASS computedStyle.textDecoration is 'underline overline line-through'
45 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 57 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
46 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through solid rgb(0, 0, 0)' 58 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline overline line-through'
47 59
48 Value 'blink' (valid but ignored): 60 Value 'blink' (valid but ignored):
49 PASS e.style.getPropertyCSSValue('text-decoration') is null 61 PASS e.style.textDecoration is 'blink'
50 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 62 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
51 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 63 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'blink'
52 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)' 64 PASS computedStyle.textDecoration is 'none'
65 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
66 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
53 67
54 Value '': 68 Value '':
55 PASS e.style.getPropertyCSSValue('text-decoration') is null 69 PASS e.style.getPropertyCSSValue('text-decoration') is null
56 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' 70 PASS computedStyle.textDecoration is 'none'
57 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 71 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
58 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none solid rgb(0, 0, 0)' 72 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
59 73
60 Parent gets 'underline' value: 74 Parent gets 'underline' value:
61 PASS e.style.getPropertyCSSValue('text-decoration') is null 75 PASS e.style.textDecoration is 'underline'
62 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' 76 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lueList]'
77 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'underline'
78 PASS computedStyle.textDecoration is 'underline'
63 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 79 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
64 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)' 80 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
65 81
66 Ancestor should explicitly inherit value from parent when 'inherit' value is use d: 82 Ancestor should explicitly inherit value from parent when 'inherit' value is use d:
67 PASS e.style.getPropertyCSSValue('text-decoration') is null 83 PASS e.style.textDecoration is 'inherit'
68 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' 84 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa lue]'
85 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit'
86 PASS computedStyle.textDecoration is 'underline'
69 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]' 87 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSValueList]'
70 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline solid rgb(0, 0, 0)' 88 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline'
71 89
72 Ancestor should not implicitly inherit value from parent (i.e. when value is voi d): 90 Ancestor should not implicitly inherit value from parent (i.e. when value is voi d):
73 PASS e.style.getPropertyCSSValue('text-decoration') is null 91 PASS e.style.getPropertyCSSValue('text-decoration') is null
74 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0). 92 PASS computedStyle.textDecoration is 'none'
75 FAIL computedStyle.getPropertyCSSValue('text-decoration').toString() should be [ object CSSPrimitiveValue]. Was [object CSSValueList]. 93 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object CSSPrimitiveValue]'
76 FAIL computedStyle.getPropertyCSSValue('text-decoration').cssText should be none . Was none solid rgb(0, 0, 0). 94 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none'
77 95
78 PASS successfullyParsed is true 96 PASS successfullyParsed is true
79 97
80 TEST COMPLETE 98 TEST COMPLETE
81 99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698