blob: bdfeb5286ff7f990b4c4a970aa49adb7d8974427 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Replaced Elements</title>
<style type="text/css">
div { margin: 0; background: url(support/swatch-red.png) center repeat-y; font-size: 10px; }
.a img { display: block; margin-right: auto; margin-left: auto; width: auto; }
.b { text-align: center; }
.b img { vertical-align: top; }
.c { text-align: center; font: 15px Ahem; color: blue; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property">
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
</head>
<body>
<p>There should be a single small column of blue below with no red:</p>
<div class="a"><img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png"></div>
<div class="b"><img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png"></div>
<div class="c">X</div>
</body>
</html>