Files
servo/tests/wpt/css-tests/css21_dev/html4/c43-rpl-bbx-001.htm

26 lines
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Replaced Elements</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-06-30 -->
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#replaced-elements">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#block-replaced-width" title="10.3.4 Block-level, replaced elements in normal flow">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" title="10.6.2 Inline replaced elements, block-level replaced elements in normal flow, 'inline-block' replaced elements in normal flow and floating replaced elements">
<meta name="flags" content="image">
<style type="text/css">
html, body, p { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
img { display: block; margin-right: 0; margin-left: auto; width: 50%; }
</style>
</head>
<body>
<p>
Test passes if there is a big blue square half the width of the window and aligned flush with the right hand side (⇨).
</p>
<p><img src="support/swatch-blue.png" alt="FAIL: Images required for this test."></p>
</body>
</html>