blob: cf18612e0e0bee59572862fe47784df774ca4307 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>white-space normal: simple tests</title>
<style type="text/css">
.control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
* { white-space: normal; }
div { display: block; }
span { display: inline; }
table { padding: 0; border-spacing: 0; border: solid; }
td { font: 20px/1 Ahem; color: red; background: red; padding: 0; }
.red { background: red; }
.green { color: green; background: lime; }
.check { width: 3em; background: lime; color: green; }
</style>
</head>
<body>
<div class="control">Ahem_font_required_for_this_test.</div>
<p>There should be three columns below, dark green, light green, and dark green, with no red anywhere.</p>
<table>
<tr>
<td>
<div class="red"> </div>
<div class="red"> <div></div></div>
<div class="red"> <div> </div></div>
<div class="red"><div> </div></div>
<div class="red"><div> </div> </div>
<div class="red"><div></div> </div>
<div class="red"> <div></div> </div>
<div class="red"> <div> </div> </div>
<div class="green"><span>X</span> <span>X</span></div>
<div class="green"> <span>X</span> <span>X</span></div>
<div class="green"><span>X</span> <span>X</span> </div>
<div class="green"> <div></div> <span>X</span> <span>X</span> </div>
<div class="green"> <span>X</span> <span>X</span> <div></div> </div>
<div class="check">X X</div>
</td>
</tr>
</table>
</body>
</html>