1 Test to make sure text-decoration property returns values properly.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
9 Initial value (explicit):
10 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
13 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
16 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
19 PASS computedStyle.textDecoration is 'overline solid rgb(0, 0, 0)'
22 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)'
24 Value 'underline overline line-through':
25 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb(0, 0, 0)'
27 Value 'blink' (valid but ignored):
28 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
30 Value 'overline overline' (invalid):
31 FAIL computedStyle.textDecoration should be none solid rgb(0, 0, 0). Was overline solid rgb(0, 0, 0).
33 Value 'underline blank' (invalid):
34 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
37 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)'
39 Parent gets 'underline' value:
40 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
42 Ancestor should explicitly inherit value from parent when 'inherit' value is used:
43 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)'
45 Ancestor should not implicitly inherit value from parent (i.e. when value is void):
46 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0).
48 PASS successfullyParsed is true