c5525-flt-r-000

float

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: float</title>
 5   <meta name="flags" content="image">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#float">
 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    p { color: navy; }
11    img { height: 50px; width: 50px; float: right; }
12    span { color: silver; }
13   </style>
14   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
15  </head>
16  <body>
17   <p>
18    <img src="support/square-teal.png" alt="[FAIL: Image support required]">
19    This text should flow around the box on the right. ⇨
20    <span>dummy text dummy text dummy text dummy text dummy text dummy
21    text dummy text dummy text dummy text dummy text dummy text dummy
22    text dummy text dummy text dummy text dummy text dummy text dummy
23    text dummy text dummy text dummy text dummy text dummy text dummy
24    text dummy text dummy text dummy text dummy text dummy text dummy
25    text dummy text dummy text dummy text dummy text dummy text dummy
26    text dummy text dummy text dummy text dummy text dummy text dummy
27    text dummy text dummy text dummy text dummy text dummy text dummy
28    text dummy text dummy text dummy text dummy text dummy text dummy
29    text dummy text dummy text dummy text dummy text dummy text dummy
30    text dummy text dummy text dummy text dummy text dummy text dummy
31    text dummy text dummy text dummy text dummy text dummy text dummy
32    text dummy text dummy text dummy text dummy text dummy text dummy
33    text dummy text dummy text dummy text dummy text dummy text dummy
34    text dummy text dummy text dummy text dummy text dummy text dummy
35    text dummy text dummy text dummy text dummy text dummy text dummy
36    text dummy text dummy text dummy text dummy text dummy text dummy
37    text dummy text dummy text dummy text dummy text dummy text dummy
38    text dummy text dummy text dummy text dummy text dummy text dummy
39    text dummy text dummy text dummy text dummy text dummy text dummy
40    text dummy text dummy text dummy text dummy text dummy text</span>
41   </p>
42  </body>
43 </html>