| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | |
| 2 <html><head> | |
| 3 <title>CSS Test: Test for wrapping around floats whose top is below the top of w
hat 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; text-align: right; } | |
| 9 div { float: right; clear: right; } | |
| 10 span { display: inline-block; vertical-align: top; width: 200px; height: 50px; b
ackground: aqua; } | |
| 11 | |
| 12 </style> | |
| 13 </head> | |
| 14 <body> | |
| 15 <div style="width: 50px; height: 50px;"></div> | |
| 16 <div style="width: 100px; height: 100px;"></div><span></span><span></span> | |
| 17 </body></html> | |
| OLD | NEW |