OLD | NEW |
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' | 8 PASS computedStyle.textDecoration is 'none' |
9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object
CSSPrimitiveValue]' | 9 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object
CSSPrimitiveValue]' |
10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none' | 10 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none' |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' | 80 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' |
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.textDecoration is 'inherit' | 83 PASS e.style.textDecoration is 'inherit' |
84 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa
lue]' | 84 PASS e.style.getPropertyCSSValue('text-decoration').toString() is '[object CSSVa
lue]' |
85 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit' | 85 PASS e.style.getPropertyCSSValue('text-decoration').cssText is 'inherit' |
86 PASS computedStyle.textDecoration is 'underline' | 86 PASS computedStyle.textDecoration is 'underline' |
87 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object
CSSValueList]' | 87 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object
CSSValueList]' |
88 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' | 88 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'underline' |
89 | 89 |
| 90 Ancestor should not implicitly inherit value from parent (i.e. when value is voi
d): |
| 91 PASS e.style.getPropertyCSSValue('text-decoration') is null |
| 92 PASS computedStyle.textDecoration is 'none' |
| 93 PASS computedStyle.getPropertyCSSValue('text-decoration').toString() is '[object
CSSPrimitiveValue]' |
| 94 PASS computedStyle.getPropertyCSSValue('text-decoration').cssText is 'none' |
| 95 |
90 PASS successfullyParsed is true | 96 PASS successfullyParsed is true |
91 | 97 |
92 TEST COMPLETE | 98 TEST COMPLETE |
93 | 99 |
OLD | NEW |