inline-level-absolute-in-block-level-context-013.html (645B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://crbug.com/982403" /> 3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 4 <meta name="assert" content="Tests the static position of an inline-level absolute-positioned element." /> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="overflow: hidden;"> 7 <div style="float: left; width: 100px; height: 50px; background: green;"></div> 8 <div style="clear: both; width: 100px; height: 50px; background: red;"> 9 <div style="position: absolute; display: inline; width: 100px; height: 50px; background: green;"></div> 10 </div> 11 </div>