robert@webkit.org | 4f76df9 | 2012-07-03 17:41:35 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html><head> |
| 3 | <title>CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them</title> |
| 4 | <link rel="author" title="L. David Baron" href="http://dbaron.org/"> |
| 5 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/"> |
| 6 | <style type="text/css"> |
| 7 | |
| 8 | body { width: 400px; border: medium solid; } |
| 9 | span { display: inline-block; vertical-align: top; width: 100px; height: 50px; background: aqua; } |
| 10 | |
| 11 | </style> |
| 12 | </head> |
| 13 | <body> |
| 14 | |
| 15 | <div style="float: right; width: 250px; height: 25px;"></div> |
| 16 | <span></span> |
| 17 | <span style="margin-top: 25px; margin-left: 250px"></span> |
| 18 | |
| 19 | |
| 20 | |
| 21 | </body></html> |