OLD | NEW |
1 Test to make sure -webkit-text-decoration-style property returns CSSPrimitiveVal
ue properly. | 1 Test to make sure -webkit-text-decoration-style property returns CSSPrimitiveVal
ue 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 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('-webkit-text-decoration-style') is null |
8 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 8 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
9 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 9 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
10 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 10 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
11 | 11 |
12 Parent should cointain 'dashed': | 12 Parent should cointain 'dashed': |
13 PASS e.style.webkitTextDecorationStyle is 'dashed' | 13 FAIL e.style.webkitTextDecorationStyle should be dashed (of type string). Was un
defined (of type undefined). |
14 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 14 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
15 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'da
shed' | 15 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be dashed. Threw exception TypeError: Cannot read property 'cssText' of null |
16 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 16 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
17 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dashed' | 17 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be dashed. Threw exception TypeError: Cannot read property 'cssText' of n
ull |
18 PASS computedStyle.webkitTextDecorationStyle is 'dashed' | 18 FAIL computedStyle.webkitTextDecorationStyle should be dashed (of type string).
Was undefined (of type undefined). |
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('-webkit-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.webkitTextDecorationStyle is 'solid' |
25 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 25 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
26 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'so
lid' | 26 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be solid. Threw exception TypeError: Cannot read property 'cssText' of null |
27 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 27 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
28 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 28 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
29 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 29 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
30 | 30 |
31 Valid value 'double': | 31 Valid value 'double': |
32 PASS e.style.webkitTextDecorationStyle is 'double' | 32 PASS e.style.webkitTextDecorationStyle is 'double' |
33 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 33 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
34 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'do
uble' | 34 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be double. Threw exception TypeError: Cannot read property 'cssText' of null |
35 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 35 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
36 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'double' | 36 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be double. Threw exception TypeError: Cannot read property 'cssText' of n
ull |
37 PASS computedStyle.webkitTextDecorationStyle is 'double' | 37 FAIL computedStyle.webkitTextDecorationStyle should be double (of type string).
Was undefined (of type undefined). |
38 | 38 |
39 Valid value 'dotted': | 39 Valid value 'dotted': |
40 PASS e.style.webkitTextDecorationStyle is 'dotted' | 40 PASS e.style.webkitTextDecorationStyle is 'dotted' |
41 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 41 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
42 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'do
tted' | 42 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be dotted. Threw exception TypeError: Cannot read property 'cssText' of null |
43 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 43 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
44 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dotted' | 44 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be dotted. Threw exception TypeError: Cannot read property 'cssText' of n
ull |
45 PASS computedStyle.webkitTextDecorationStyle is 'dotted' | 45 FAIL computedStyle.webkitTextDecorationStyle should be dotted (of type string).
Was undefined (of type undefined). |
46 | 46 |
47 Valid value 'dashed': | 47 Valid value 'dashed': |
48 PASS e.style.webkitTextDecorationStyle is 'dashed' | 48 PASS e.style.webkitTextDecorationStyle is 'dashed' |
49 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 49 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
50 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'da
shed' | 50 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be dashed. Threw exception TypeError: Cannot read property 'cssText' of null |
51 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 51 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
52 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'dashed' | 52 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be dashed. Threw exception TypeError: Cannot read property 'cssText' of n
ull |
53 PASS computedStyle.webkitTextDecorationStyle is 'dashed' | 53 FAIL computedStyle.webkitTextDecorationStyle should be dashed (of type string).
Was undefined (of type undefined). |
54 | 54 |
55 Valid value 'wavy': | 55 Valid value 'wavy': |
56 PASS e.style.webkitTextDecorationStyle is 'wavy' | 56 PASS e.style.webkitTextDecorationStyle is 'wavy' |
57 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSPrimitiveValue]' | 57 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
58 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'wa
vy' | 58 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be wavy. Threw exception TypeError: Cannot read property 'cssText' of null |
59 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 59 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
60 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'wavy' | 60 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be wavy. Threw exception TypeError: Cannot read property 'cssText' of nul
l |
61 PASS computedStyle.webkitTextDecorationStyle is 'wavy' | 61 FAIL computedStyle.webkitTextDecorationStyle should be wavy (of type string). Wa
s undefined (of type undefined). |
62 | 62 |
63 Initial value: | 63 Initial value: |
64 PASS e.style.webkitTextDecorationStyle is 'initial' | 64 PASS e.style.webkitTextDecorationStyle is 'initial' |
65 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 65 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSValue]. Threw exception TypeError: Cannot call method 'toStrin
g' of null |
66 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 66 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be initial. Threw exception TypeError: Cannot read property 'cssText' of null |
67 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 67 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
68 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 68 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
69 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 69 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
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 FAIL e.style.webkitTextDecorationStyle should be initial. Was double dotted. |
73 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 73 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSValue]. Threw exception TypeError: Cannot call method 'toStrin
g' of null |
74 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 74 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be initial. Threw exception TypeError: Cannot read property 'cssText' of null |
75 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 75 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
76 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 76 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
77 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 77 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
78 | 78 |
79 Invalid value (ie. 'unknown'): | 79 Invalid value (ie. 'unknown'): |
80 PASS e.style.webkitTextDecorationStyle is 'initial' | 80 FAIL e.style.webkitTextDecorationStyle should be initial. Was unknown. |
81 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() is
'[object CSSValue]' | 81 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').toString() sho
uld be [object CSSValue]. Threw exception TypeError: Cannot call method 'toStrin
g' of null |
82 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText is 'in
itial' | 82 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-style').cssText should
be initial. Threw exception TypeError: Cannot read property 'cssText' of null |
83 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 83 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
84 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 84 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
85 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 85 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
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('-webkit-text-decoration-style') is null |
89 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() is '[object CSSPrimitiveValue]' | 89 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').toString
() should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call
method 'toString' of null |
90 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
is 'solid' | 90 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-style').cssText
should be solid. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
91 PASS computedStyle.webkitTextDecorationStyle is 'solid' | 91 FAIL computedStyle.webkitTextDecorationStyle should be solid (of type string). W
as undefined (of type undefined). |
92 | 92 |
93 PASS successfullyParsed is true | 93 PASS successfullyParsed is true |
94 | 94 |
95 TEST COMPLETE | 95 TEST COMPLETE |
96 | 96 |
OLD | NEW |