blob: a065969a7399e62ada62e3fd995c86dca72ede5b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Inline Elements</title>
<style type="text/css">
p { color: navy; }
div { font: 10px/240% Ahem; color: black; width: 200px; margin: 0 0 0 10px; }
span { border: solid 10px blue; padding: 2px 20px 2px 10px; margin: 40px 30px 0 40px; }
td { padding: 0; border: 2px solid black; }
img { display: block; }
.control { background: red; color: yellow; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting" title="9.4.2 Inline formatting context">
</head>
<body>
<p>The two diagrams below should be identical to the pixel with no red present.</p>
<table>
<tr>
<td>
<div>
1 2 3 4 5 6 7 8 9 0
1 2 3 <span> 7 8 9 0
1 2 3 4 5 6 7 8 9 0
1 2 3 4 </span> 8 9 0
1 2 3 4 5 6 7 8 9 0
</div>
</td>
<td class="control">
<img alt="FAIL: Images required for this test." src="support/css1test42a.png">
</td>
</tr>
</table>
</body>
</html>