|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <title>CSS 2.1 Test Suite: Test for wrapping around floats whose top is below the top of what must wrap around them</title> |
|
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> |
|
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
|
7 <style type="text/css"> |
|
8 |
|
9 body { width: 400px; border: medium solid; text-align: right; } |
|
10 div { float: right; clear: right; } |
|
11 span { display: inline-block; vertical-align: top; width: 200px; height: 50px; background: aqua; } |
|
12 |
|
13 </style> |
|
14 </head> |
|
15 <body> |
|
16 |
|
17 <div style="width: 50px; height: 50px;"></div> |
|
18 <div style="width: 100px; height: 100px;"></div> |
|
19 <span></span> |
|
20 <span></span> |
|
21 |
|
22 </body> |
|
23 </html> |