25888-3r-ref.html (650B)
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="https://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; } 10 span { display: inline-block; vertical-align: top; width: 100px; height: 50px; background: aqua; } 11 12 </style> 13 </head> 14 <body> 15 16 <div style="float: right; width: 250px; height: 25px;"></div> 17 <span></span> 18 <span style="margin-top: 25px; margin-left: 250px"></span> 19 20 </body> 21 </html>