adjoining-float-nested-forced-clearance.html (690B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#flow-control"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht" /> 4 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 5 <div style="position: absolute; width: 100px; height: 100px; background: red;"></div> 6 <div style="position: absolute; width: 100px;"> 7 <div> 8 <div style="float:left; width:100px; height:50px; background: green;"></div> 9 <div style="clear:both;"> 10 <div style="float:left; width:10px; height:10px;"></div> 11 <div style="margin-top:100px; height:50px; background: green;"></div> 12 </div> 13 </div> 14 </div> 15 </div>