2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t0905-c5525-fltblck-01-d.html
blobaea7c19502be888ea5d1383a65f6103bfc363ef3
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: float</title>
5 <style type="text/css">
6 .outer { border: solid blue; border-bottom: 6em solid blue; background: navy; color: white; }
7 .float { float: right; width: 20em; background: teal; color: white; border: none; padding: 1em; margin: 0.5em; }
8 p { margin: 0; }
9 </style>
10 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
11 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-block" title="10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'">
12 </head>
13 <body>
14 <div class="outer">
15 <div class="float">
16 <p>
17 This teal box should start inside the dark blue box and spill out
18 onto the blue area below it.
19 </p>
20 </div>
21 <p>
22 You should see a teal box to the right. ⇨
23 </p>
24 </div>
25 </body>
26 </html>