OLD | NEW |
(Empty) | |
| 1 Test to make sure text-decoration longhand values are accepted in every possible
ordering in shorthand. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 -line -style -color ordering (underline dashed red): |
| 7 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
| 8 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
| 9 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'red' |
| 10 |
| 11 -line -color -style ordering (overline blue dotted): |
| 12 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline' |
| 13 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dotted' |
| 14 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'blue' |
| 15 |
| 16 -style -line -color ordering (double line-through underline overline green): |
| 17 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-throug
h underline overline' |
| 18 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'double' |
| 19 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'green' |
| 20 |
| 21 -style -color -line ordering (wavy yellow line-through): |
| 22 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'line-throug
h' |
| 23 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'wavy' |
| 24 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'yellow' |
| 25 |
| 26 -color -line -style ordering (black underline solid): |
| 27 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'underline' |
| 28 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'solid' |
| 29 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'black' |
| 30 |
| 31 -color style -line -style ordering (navy dashed overline): |
| 32 PASS e.style.getPropertyCSSValue('text-decoration-line').cssText is 'overline' |
| 33 PASS e.style.getPropertyCSSValue('text-decoration-style').cssText is 'dashed' |
| 34 PASS e.style.getPropertyCSSValue('text-decoration-color').cssText is 'navy' |
| 35 |
| 36 PASS successfullyParsed is true |
| 37 |
| 38 TEST COMPLETE |
| 39 |
OLD | NEW |