25888-2l-ref.html (638B)
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: 200px; height: 50px; background: aqua; } 11 12 </style> 13 </head> 14 <body> 15 16 <div style="float: left; width: 150px; height: 25px;"></div> 17 <span></span> 18 <div style="height: 100px"></div> 19 <span></span> 20 21 </body> 22 </html>