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 computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 7 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' |
8 | 8 |
9 Initial value (explicit): | 9 Initial value (explicit): |
10 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 10 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' |
(...skipping 10 matching lines...) Expand all Loading... |
21 Value 'line-through': | 21 Value 'line-through': |
22 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)' | 22 PASS computedStyle.textDecoration is 'line-through solid rgb(0, 0, 0)' |
23 | 23 |
24 Value 'underline overline line-through': | 24 Value 'underline overline line-through': |
25 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb(
0, 0, 0)' | 25 PASS computedStyle.textDecoration is 'underline overline line-through solid rgb(
0, 0, 0)' |
26 | 26 |
27 Value 'blink' (valid but ignored): | 27 Value 'blink' (valid but ignored): |
28 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 28 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' |
29 | 29 |
30 Value 'overline overline' (invalid): | 30 Value 'overline overline' (invalid): |
31 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 31 FAIL computedStyle.textDecoration should be none solid rgb(0, 0, 0). Was overlin
e solid rgb(0, 0, 0). |
32 | 32 |
33 Value 'underline blank' (invalid): | 33 Value 'underline blank' (invalid): |
34 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 34 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' |
35 | 35 |
36 Value '': | 36 Value '': |
37 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' | 37 PASS computedStyle.textDecoration is 'none solid rgb(0, 0, 0)' |
38 | 38 |
39 Parent gets 'underline' value: | 39 Parent gets 'underline' value: |
40 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' | 40 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' |
41 | 41 |
42 Ancestor should explicitly inherit value from parent when 'inherit' value is use
d: | 42 Ancestor should explicitly inherit value from parent when 'inherit' value is use
d: |
43 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' | 43 PASS computedStyle.textDecoration is 'underline solid rgb(0, 0, 0)' |
44 | 44 |
45 Ancestor should not implicitly inherit value from parent (i.e. when value is voi
d): | 45 Ancestor should not implicitly inherit value from parent (i.e. when value is voi
d): |
46 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0). | 46 FAIL computedStyle.textDecoration should be none. Was none solid rgb(0, 0, 0). |
47 | 47 |
48 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
49 | 49 |
50 TEST COMPLETE | 50 TEST COMPLETE |
51 | 51 |
OLD | NEW |