between-float-and-text.html (708B)
1 <!DOCTYPE html> 2 <title>Auto-positioned abspos after text, before float</title> 3 <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-width" title="10.3.7 Absolutely positioned, non-replaced elements"> 5 <link rel="match" href="../../reference/ref-filled-green-200px-square.html"> 6 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 7 <div style="line-height:20px; margin-top:-20px;"> 8 9 <div style="position:absolute; width:200px; height:200px; background:green;"></div> 10 <div style="float:left; margin-top:20px; width:200px; height:200px; background:red;"></div> 11 </div>