OLD | NEW |
1 Test to make sure -webkit-text-decoration-style property returns CSSPrimitiveVal
ue properly. | 1 Test to make sure text-decoration-style property returns CSSPrimitiveValue prope
rly. |
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 Ancestor should not inherit 'dashed' value from parent (fallback to initial 'sol
id' value): | 6 Ancestor should not inherit 'dashed' value from parent (fallback to initial 'sol
id' value): |
7 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null | 7 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
8 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 8 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
9 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 9 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
10 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 10 PASS computedStyle.textDecorationStyle is 'solid' |
11 | 11 |
12 Parent should cointain 'dashed': | 12 Parent should cointain 'dashed': |
13 PASS e.style.webkitTextDecorationStyle is 'dashed' | 13 PASS e.style.textDecorationStyle is 'dashed' |
14 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 14 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
15 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'da
shed' | 15 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
16 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 16 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
17 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dashed' | 17 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dash
ed' |
18 PASS computedStyle.webkitTextDecorationStyle is 'dashed' | 18 PASS computedStyle.textDecorationStyle is 'dashed' |
19 | 19 |
20 JavaScript setter tests for valid, initial, invalid and blank values: | 20 JavaScript setter tests for valid, initial, invalid and blank values: |
21 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null | 21 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
22 | 22 |
23 Valid value 'solid': | 23 Valid value 'solid': |
24 PASS e.style.webkitTextDecorationStyle is 'solid' | 24 PASS e.style.textDecorationStyle is 'solid' |
25 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 25 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
26 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'so
lid' | 26 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'solid' |
27 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 27 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
28 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 28 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
29 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 29 PASS computedStyle.textDecorationStyle is 'solid' |
30 | 30 |
31 Valid value 'double': | 31 Valid value 'double': |
32 PASS e.style.webkitTextDecorationStyle is 'double' | 32 PASS e.style.textDecorationStyle is 'double' |
33 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 33 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
34 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'do
uble' | 34 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'double' |
35 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 35 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
36 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'double' | 36 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'doub
le' |
37 PASS computedStyle.webkitTextDecorationStyle is 'double' | 37 PASS computedStyle.textDecorationStyle is 'double' |
38 | 38 |
39 Valid value 'dotted': | 39 Valid value 'dotted': |
40 PASS e.style.webkitTextDecorationStyle is 'dotted' | 40 PASS e.style.textDecorationStyle is 'dotted' |
41 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 41 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
42 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'do
tted' | 42 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dotted' |
43 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 43 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
44 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dotted' | 44 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dott
ed' |
45 PASS computedStyle.webkitTextDecorationStyle is 'dotted' | 45 PASS computedStyle.textDecorationStyle is 'dotted' |
46 | 46 |
47 Valid value 'dashed': | 47 Valid value 'dashed': |
48 PASS e.style.webkitTextDecorationStyle is 'dashed' | 48 PASS e.style.textDecorationStyle is 'dashed' |
49 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 49 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
50 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'da
shed' | 50 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
51 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 51 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
52 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dashed' | 52 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'dash
ed' |
53 PASS computedStyle.webkitTextDecorationStyle is 'dashed' | 53 PASS computedStyle.textDecorationStyle is 'dashed' |
54 | 54 |
55 Valid value 'wavy': | 55 Valid value 'wavy': |
56 PASS e.style.webkitTextDecorationStyle is 'wavy' | 56 PASS e.style.textDecorationStyle is 'wavy' |
57 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 57 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSPrimitiveValue]' |
58 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'wa
vy' | 58 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'wavy' |
59 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 59 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
60 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'wavy' | 60 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'wavy
' |
61 PASS computedStyle.webkitTextDecorationStyle is 'wavy' | 61 PASS computedStyle.textDecorationStyle is 'wavy' |
62 | 62 |
63 Initial value: | 63 Initial value: |
64 PASS e.style.webkitTextDecorationStyle is 'initial' | 64 PASS e.style.textDecorationStyle is 'initial' |
65 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 65 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
66 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 66 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
67 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 67 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
68 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 68 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
69 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 69 PASS computedStyle.textDecorationStyle is 'solid' |
70 | 70 |
71 Invalid value (this property accepts one value at a time only): | 71 Invalid value (this property accepts one value at a time only): |
72 PASS e.style.webkitTextDecorationStyle is 'initial' | 72 PASS e.style.textDecorationStyle is 'initial' |
73 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 73 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
74 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 74 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
75 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 75 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
76 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 76 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
77 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 77 PASS computedStyle.textDecorationStyle is 'solid' |
78 | 78 |
79 Invalid value (ie. 'unknown'): | 79 Invalid value (ie. 'unknown'): |
80 PASS e.style.webkitTextDecorationStyle is 'initial' | 80 PASS e.style.textDecorationStyle is 'initial' |
81 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 81 PASS e.style.getPropertyCSSValue('text-decoration-style').toString() is '[object
CSSValue]' |
82 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 82 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'initial' |
83 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 83 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
84 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 84 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
85 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 85 PASS computedStyle.textDecorationStyle is 'solid' |
86 | 86 |
87 Empty value (resets the property): | 87 Empty value (resets the property): |
88 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style') is null | 88 PASS e.style.getPropertyCSSValue('text-decoration-style') is null |
89 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 89 PASS computedStyle.getPropertyCSSValue('text-decoration-style').toString() is '[
object CSSPrimitiveValue]' |
90 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 90 PASS computedStyle.getPropertyCSSValue('text-decoration-style').cssText is 'soli
d' |
91 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 91 PASS computedStyle.textDecorationStyle is 'solid' |
92 | 92 |
93 PASS successfullyParsed is true | 93 PASS successfullyParsed is true |
94 | 94 |
95 TEST COMPLETE | 95 TEST COMPLETE |
96 | 96 |
OLD | NEW |