blob: 762483709e5b7ad71d99d80139ff9446ca01bbdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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"><![CDATA[
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>
|