Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / whitespace / 007.html
blob836e105458f9a37ac7c9db0597543f75e7cb7536
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <title>white-space normal: zero width non-breaking space</title>
5 <script src="../../../resources/ahem.js"></script>
6 <style type="text/css">
7 /* setup */
8 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
9 * { white-space: normall; font: inherit; }
10 div { display: block; margin: 1em; }
11 span { display: inline; }
13 /* test */
14 div { font: 20px/1 Ahem; }
15 .green { background: lime; color: green; }
16 .red { background: red; color: maroon; }
17 </style>
18 </head>
19 <body>
20 <div class="control">Ahem_font_required_for_this_test.</div>
21 <p>There should be no red below, only two identical striped green and lime bars.</p>
23 <div><span class="red">
24 <span class="green">X </span> <span class="red"> </span> <span class="green"> X </span>
25 <span class="green">X </span> <span class="green"> X </span>
26 <span class="green">X</span><span class="green"> X<span class="red"> </span></span>
27 </span></div>
29 <div><span class="green">X X X X X X</span></div>
31 </body>
32 </html>