|
1 <!doctype html> |
|
2 <html><head><title>Colored strikethrough test</title> |
|
3 <style> |
|
4 /* In order to ensure consistency between the HTML reference and XUL |
|
5 test case, we explicitly specify all relevant style properties. */ |
|
6 * { |
|
7 margin: 0; |
|
8 padding: 0; |
|
9 border: none; |
|
10 background-color: transparent; |
|
11 } |
|
12 body { |
|
13 padding: 8px; |
|
14 background-color: white; |
|
15 } |
|
16 span { |
|
17 color: black; |
|
18 font: normal normal normal 12pt/14pt serif; |
|
19 display: block; |
|
20 height: 30px; |
|
21 } |
|
22 div#under { |
|
23 text-decoration: underline; |
|
24 color: orange; |
|
25 } |
|
26 div#strike { |
|
27 text-decoration: line-through; |
|
28 color: blue; |
|
29 } |
|
30 </style> |
|
31 </head> |
|
32 <body> |
|
33 <div><span>The next three lines should all have:</span></div> |
|
34 <div id="under"> |
|
35 <div id="strike"> |
|
36 <span>No overline.</span> |
|
37 <span>Orange underline.</span> |
|
38 <span>Blue strikethrough.</span> |
|
39 </div> |
|
40 </div> |
|
41 </body></html> |