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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Test to make sure -webkit-text-decoration-line property returns values properly. 1 Test to make sure text-decoration-line 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('-webkit-text-decoration-line') is null 7 PASS e.style.getPropertyCSSValue('text-decoration-line') is null
8 PASS computedStyle.webkitTextDecorationLine is 'none' 8 PASS computedStyle.textDecorationLine is 'none'
9 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSPrimitiveValue]' 9 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
10 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'none' 10 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
11 11
12 Initial value (explicit): 12 Initial value (explicit):
13 PASS e.style.webkitTextDecorationLine is 'initial' 13 PASS e.style.textDecorationLine is 'initial'
14 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValue]' 14 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]'
15 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'ini tial' 15 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'initial'
16 PASS computedStyle.webkitTextDecorationLine is 'none' 16 PASS computedStyle.textDecorationLine is 'none'
17 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSPrimitiveValue]' 17 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
18 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'none' 18 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
19 19
20 Value 'none': 20 Value 'none':
21 PASS e.style.webkitTextDecorationLine is 'none' 21 PASS e.style.textDecorationLine is 'none'
22 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSPrimitiveValue]' 22 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSPrimitiveValue]'
23 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'non e' 23 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'none'
24 PASS computedStyle.webkitTextDecorationLine is 'none' 24 PASS computedStyle.textDecorationLine is 'none'
25 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSPrimitiveValue]' 25 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
26 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'none' 26 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
27 27
28 Value 'underline': 28 Value 'underline':
29 PASS e.style.webkitTextDecorationLine is 'underline' 29 PASS e.style.textDecorationLine is 'underline'
30 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 30 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
31 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und erline' 31 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
32 PASS computedStyle.webkitTextDecorationLine is 'underline' 32 PASS computedStyle.textDecorationLine is 'underline'
33 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 33 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
34 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'underline' 34 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line'
35 35
36 Value 'overline': 36 Value 'overline':
37 PASS e.style.webkitTextDecorationLine is 'overline' 37 PASS e.style.textDecorationLine is 'overline'
38 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 38 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
39 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'ove rline' 39 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline'
40 PASS computedStyle.webkitTextDecorationLine is 'overline' 40 PASS computedStyle.textDecorationLine is 'overline'
41 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 41 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
42 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'overline' 42 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'overl ine'
43 43
44 Value 'line-through': 44 Value 'line-through':
45 PASS e.style.webkitTextDecorationLine is 'line-through' 45 PASS e.style.textDecorationLine is 'line-through'
46 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 46 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
47 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'lin e-through' 47 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-throug h'
48 PASS computedStyle.webkitTextDecorationLine is 'line-through' 48 PASS computedStyle.textDecorationLine is 'line-through'
49 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 49 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
50 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'line-through' 50 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'line- through'
51 51
52 Value 'underline overline line-through': 52 Value 'underline overline line-through':
53 PASS e.style.webkitTextDecorationLine is 'underline overline line-through' 53 PASS e.style.textDecorationLine is 'underline overline line-through'
54 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 54 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
55 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und erline overline line-through' 55 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline o verline line-through'
56 PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through' 56 PASS computedStyle.textDecorationLine is 'underline overline line-through'
57 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 57 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
58 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'underline overline line-through' 58 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line overline line-through'
59 59
60 Value 'blink' (invalid, last valid value is used): 60 Value 'blink' (invalid, last valid value is used):
61 PASS e.style.webkitTextDecorationLine is 'underline overline line-through' 61 PASS e.style.textDecorationLine is 'underline overline line-through'
62 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 62 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
63 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und erline overline line-through' 63 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline o verline line-through'
64 PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through' 64 PASS computedStyle.textDecorationLine is 'underline overline line-through'
65 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 65 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
66 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'underline overline line-through' 66 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line overline line-through'
67 67
68 Value '': 68 Value '':
69 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is null 69 PASS e.style.getPropertyCSSValue('text-decoration-line') is null
70 PASS computedStyle.webkitTextDecorationLine is 'none' 70 PASS computedStyle.textDecorationLine is 'none'
71 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSPrimitiveValue]' 71 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSPrimitiveValue]'
72 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'none' 72 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'none'
73 73
74 Parent gets 'underline' value: 74 Parent gets 'underline' value:
75 PASS e.style.webkitTextDecorationLine is 'underline' 75 PASS e.style.textDecorationLine is 'underline'
76 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValueList]' 76 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValueList]'
77 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und erline' 77 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline'
78 PASS computedStyle.webkitTextDecorationLine is 'underline' 78 PASS computedStyle.textDecorationLine is 'underline'
79 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 79 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
80 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'underline' 80 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line'
81 81
82 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:
83 PASS e.style.webkitTextDecorationLine is 'inherit' 83 PASS e.style.textDecorationLine is 'inherit'
84 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is ' [object CSSValue]' 84 PASS e.style.getPropertyCSSValue('text-decoration-line').toString() is '[object CSSValue]'
85 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'inh erit' 85 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'inherit'
86 PASS computedStyle.webkitTextDecorationLine is 'underline' 86 PASS computedStyle.textDecorationLine is 'underline'
87 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString( ) is '[object CSSValueList]' 87 PASS computedStyle.getPropertyCSSValue('text-decoration-line').toString() is '[o bject CSSValueList]'
88 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i s 'underline' 88 PASS computedStyle.getPropertyCSSValue('text-decoration-line').cssText is 'under line'
89 89
90 PASS successfullyParsed is true 90 PASS successfullyParsed is true
91 91
92 TEST COMPLETE 92 TEST COMPLETE
93 93
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698