Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / whitespace / 002.html
blobf52a2dfa3ab14da49fa30bb1da46c2e17ebf6fc6
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <title>white-space normal: simple tests</title>
5 <script src="../../../resources/ahem.js"></script>
6 <style type="text/css">
7 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
8 * { white-space: normal; }
9 div { display: block; }
10 span { display: inline; }
11 table { padding: 0; border-spacing: 0; border: solid; }
12 td { font: 20px/1 Ahem; color: red; background: red; padding: 0; }
13 .red { background: red; }
14 .green { color: green; background: lime; }
15 .check { width: 3em; background: lime; color: green; }
16 </style>
17 </head>
18 <body>
19 <div class="control">Ahem_font_required_for_this_test.</div>
20 <p>There should be three columns below, dark green, light green, and dark green, with no red anywhere.</p>
21 <table>
22 <tr>
23 <td>
24 <div class="red"> </div>
25 <div class="red"> <div></div></div>
26 <div class="red"> <div> </div></div>
27 <div class="red"><div> </div></div>
28 <div class="red"><div> </div> </div>
29 <div class="red"><div></div> </div>
30 <div class="red"> <div></div> </div>
31 <div class="red"> <div> </div> </div>
32 <div class="green"><span>X</span> <span>X</span></div>
33 <div class="green"> <span>X</span> <span>X</span></div>
34 <div class="green"><span>X</span> <span>X</span> </div>
35 <div class="green"> <div></div> <span>X</span> <span>X</span> </div>
36 <div class="green"> <span>X</span> <span>X</span> <div></div> </div>
37 <div class="check">X X</div>
38 </td>
39 </tr>
40 </table>
41 </body>
42 </html>