Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0905-c414-flt-03-c.html
blobb8e8ea0d374d3e9692e8e82cec6b4f4a28bb374a
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 div { margin: 1em; width: 20em; }
8 div p { margin: 0.25em; border: solid blue; padding: 0.25em; width: 7em; background: navy; color: white; }
9 div p.left { float: left; }
10 div p.right { float: right; text-align: right; }
11 </style>
12 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
13 </head>
14 <body>
15 <p>The blue boxes below should be in numeric order and form a
16 backwards &quot;D". (Boxes labelled "A" should be in the first column;
17 boxes labelled &quot;B" should be in the second; arrows indicate the
18 correct alignment.)</p>
19 <div>
20 <p class="right"> B 2</p>
21 <p class="right"> A 1</p>
22 <p class="right"> B 4</p>
23 <p class="left"> ⇦ A 3 </p>
24 <p class="right"> B 6</p>
25 <p class="left"> ⇦ A 5 </p>
26 <p class="left"> ⇦ A 7 </p>
27 <p class="right"> B 8</p>
28 <p class="right"> B 10</p>
29 <p class="right"> A 9</p>
30 </div>
31 </body>
32 </html>