| OLD | NEW |
| 1 Test to make sure -webkit-text-decoration-line property returns values properly. | 1 Test to make sure -webkit-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('-webkit-text-decoration-line') is null |
| 8 PASS computedStyle.webkitTextDecorationLine is 'none' | 8 FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was
undefined (of type undefined). |
| 9 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSPrimitiveValue]' | 9 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call m
ethod 'toString' of null |
| 10 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'none' | 10 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be none. Threw exception TypeError: Cannot read property 'cssText' of null |
| 11 | 11 |
| 12 Initial value (explicit): | 12 Initial value (explicit): |
| 13 PASS e.style.webkitTextDecorationLine is 'initial' | 13 PASS e.style.webkitTextDecorationLine is 'initial' |
| 14 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValue]' | 14 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString
' of null |
| 15 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'ini
tial' | 15 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be initial. Threw exception TypeError: Cannot read property 'cssText' of null |
| 16 PASS computedStyle.webkitTextDecorationLine is 'none' | 16 FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was
undefined (of type undefined). |
| 17 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSPrimitiveValue]' | 17 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call m
ethod 'toString' of null |
| 18 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'none' | 18 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be none. Threw exception TypeError: Cannot read property 'cssText' of null |
| 19 | 19 |
| 20 Value 'none': | 20 Value 'none': |
| 21 PASS e.style.webkitTextDecorationLine is 'none' | 21 PASS e.style.webkitTextDecorationLine is 'none' |
| 22 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSPrimitiveValue]' | 22 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call method
'toString' of null |
| 23 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'non
e' | 23 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be none. Threw exception TypeError: Cannot read property 'cssText' of null |
| 24 PASS computedStyle.webkitTextDecorationLine is 'none' | 24 FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was
undefined (of type undefined). |
| 25 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSPrimitiveValue]' | 25 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call m
ethod 'toString' of null |
| 26 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'none' | 26 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be none. Threw exception TypeError: Cannot read property 'cssText' of null |
| 27 | 27 |
| 28 Value 'underline': | 28 Value 'underline': |
| 29 PASS e.style.webkitTextDecorationLine is 'underline' | 29 PASS e.style.webkitTextDecorationLine is 'underline' |
| 30 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 30 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 31 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und
erline' | 31 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be underline. Threw exception TypeError: Cannot read property 'cssText' of null |
| 32 PASS computedStyle.webkitTextDecorationLine is 'underline' | 32 FAIL computedStyle.webkitTextDecorationLine should be underline (of type string)
. Was undefined (of type undefined). |
| 33 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 33 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 34 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'underline' | 34 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be underline. Threw exception TypeError: Cannot read property 'cssText' of
null |
| 35 | 35 |
| 36 Value 'overline': | 36 Value 'overline': |
| 37 PASS e.style.webkitTextDecorationLine is 'overline' | 37 PASS e.style.webkitTextDecorationLine is 'overline' |
| 38 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 38 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 39 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'ove
rline' | 39 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be overline. Threw exception TypeError: Cannot read property 'cssText' of null |
| 40 PASS computedStyle.webkitTextDecorationLine is 'overline' | 40 FAIL computedStyle.webkitTextDecorationLine should be overline (of type string).
Was undefined (of type undefined). |
| 41 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 41 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 42 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'overline' | 42 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be overline. Threw exception TypeError: Cannot read property 'cssText' of
null |
| 43 | 43 |
| 44 Value 'line-through': | 44 Value 'line-through': |
| 45 PASS e.style.webkitTextDecorationLine is 'line-through' | 45 PASS e.style.webkitTextDecorationLine is 'line-through' |
| 46 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 46 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 47 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'lin
e-through' | 47 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be line-through. Threw exception TypeError: Cannot read property 'cssText' of nu
ll |
| 48 PASS computedStyle.webkitTextDecorationLine is 'line-through' | 48 FAIL computedStyle.webkitTextDecorationLine should be line-through (of type stri
ng). Was undefined (of type undefined). |
| 49 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 49 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 50 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'line-through' | 50 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be line-through. Threw exception TypeError: Cannot read property 'cssText'
of null |
| 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.webkitTextDecorationLine is 'underline overline line-through' |
| 54 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 54 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 55 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und
erline overline line-through' | 55 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be underline overline line-through. Threw exception TypeError: Cannot read prope
rty 'cssText' of null |
| 56 PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through' | 56 FAIL computedStyle.webkitTextDecorationLine should be underline overline line-th
rough (of type string). Was undefined (of type undefined). |
| 57 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 57 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 58 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'underline overline line-through' | 58 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be underline overline line-through. Threw exception TypeError: Cannot read
property 'cssText' of null |
| 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 FAIL e.style.webkitTextDecorationLine should be underline overline line-through.
Was blink. |
| 62 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 62 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 63 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und
erline overline line-through' | 63 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be underline overline line-through. Threw exception TypeError: Cannot read prope
rty 'cssText' of null |
| 64 PASS computedStyle.webkitTextDecorationLine is 'underline overline line-through' | 64 FAIL computedStyle.webkitTextDecorationLine should be underline overline line-th
rough (of type string). Was undefined (of type undefined). |
| 65 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 65 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 66 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'underline overline line-through' | 66 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be underline overline line-through. Threw exception TypeError: Cannot read
property 'cssText' of null |
| 67 | 67 |
| 68 Value '': | 68 Value '': |
| 69 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is null | 69 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line') is null |
| 70 PASS computedStyle.webkitTextDecorationLine is 'none' | 70 FAIL computedStyle.webkitTextDecorationLine should be none (of type string). Was
undefined (of type undefined). |
| 71 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSPrimitiveValue]' | 71 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSPrimitiveValue]. Threw exception TypeError: Cannot call m
ethod 'toString' of null |
| 72 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'none' | 72 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be none. Threw exception TypeError: Cannot read property 'cssText' of null |
| 73 | 73 |
| 74 Parent gets 'underline' value: | 74 Parent gets 'underline' value: |
| 75 PASS e.style.webkitTextDecorationLine is 'underline' | 75 FAIL e.style.webkitTextDecorationLine should be underline (of type string). Was
undefined (of type undefined). |
| 76 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValueList]' | 76 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValueList]. Threw exception TypeError: Cannot call method 'toSt
ring' of null |
| 77 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'und
erline' | 77 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be underline. Threw exception TypeError: Cannot read property 'cssText' of null |
| 78 PASS computedStyle.webkitTextDecorationLine is 'underline' | 78 FAIL computedStyle.webkitTextDecorationLine should be underline (of type string)
. Was undefined (of type undefined). |
| 79 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 79 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 80 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'underline' | 80 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be underline. Threw exception TypeError: Cannot read property 'cssText' of
null |
| 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 FAIL e.style.webkitTextDecorationLine should be inherit (of type string). Was un
defined (of type undefined). |
| 84 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() is '
[object CSSValue]' | 84 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').toString() shou
ld be [object CSSValue]. Threw exception TypeError: Cannot call method 'toString
' of null |
| 85 PASS e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText is 'inh
erit' | 85 FAIL e.style.getPropertyCSSValue('-webkit-text-decoration-line').cssText should
be inherit. Threw exception TypeError: Cannot read property 'cssText' of null |
| 86 PASS computedStyle.webkitTextDecorationLine is 'underline' | 86 FAIL computedStyle.webkitTextDecorationLine should be underline (of type string)
. Was undefined (of type undefined). |
| 87 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) is '[object CSSValueList]' | 87 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').toString(
) should be [object CSSValueList]. Threw exception TypeError: Cannot call method
'toString' of null |
| 88 PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText i
s 'underline' | 88 FAIL computedStyle.getPropertyCSSValue('-webkit-text-decoration-line').cssText s
hould be underline. Threw exception TypeError: Cannot read property 'cssText' of
null |
| 89 | 89 |
| 90 PASS successfullyParsed is true | 90 PASS successfullyParsed is true |
| 91 | 91 |
| 92 TEST COMPLETE | 92 TEST COMPLETE |
| 93 | 93 |
| OLD | NEW |