c43-rpl-bbx-001

Replaced Elements

WeasyPrint

This browser

Flags
image

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: Replaced Elements</title>
 5   <meta name="flags" content="image">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#replaced-elements">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    html, body, p { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
11    p { color: navy; }
12    img { display: block; margin-right: 0; margin-left: auto; width: 50%; }
13   </style>
14   <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">
15   <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">
16  </head>
17  <body>
18   <p>
19    Below this paragraph there should be a big blue square half the
20    width of the window, aligned flush with the right hand side
21    (⇨).
22   </p>
23   <p><img src="support/swatch-blue.png" alt="FAIL: Images required for this test."></p>
24  </body>
25 </html>