2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t090501-c414-flt-03-b-g.html
blob2689cf2c65db86fc49f9fa39c68527c9fc993b9c
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Floating Elements</title>
5 <style type="text/css">
6 p { color: navy; }
7 .explanation img { height: 1.2em; vertical-align: text-bottom; }
8 .test div { margin: 1em; padding: 0.5em; background: navy; color: blue; }
9 .test img { width: 10em; }
10 .test img.left { float: left; }
11 .test img.right { float: right; }
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property">
14 </head>
15 <body>
16 <p class="explanation">In the following test, the purple square
17 should be on the left (⇦<img alt="" src="support/square-purple.png">), and the teal square on the right (<img alt="" src="support/square-teal.png">⇨) of the blue
18 rectangle.</p>
19 <div class="test">
20 <div>
21 <img alt="FAIL: You need image support." src="support/square-purple.png" class="left">
22 <img alt="FAIL: You need image support." src="support/square-teal.png" class="right">
23 Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle.
24 Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle. Blue rectangle.
25 </div>
26 </div>
27 </body>
28 </html>