floats-zero-height-wrap-001-ref.xht (718B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Test for wrapping around zero-height floats</title> 2 3 </head><body><div style="width: 500px; height: 500px; float: left; font-size: 12px;"> 4 5 <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: blue; margin-left: 10px;"></span> 6 <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: purple; margin-left: 100px;"></span> 7 <span style="display:inline-block; vertical-align: bottom; height: 20px; width: 300px; background: fuchsia"></span> 8 9 </div> 10 </body></html>