block-end-aligned-abspos-nested.html (1025B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> 4 <link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#abs-non-replaced-height"> 5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 6 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 7 <div style="position:relative;"> 8 <div style="position:absolute; top:50px; width:50px; height:50px; background:red;"></div> 9 </div> 10 <div id="multicol" style="columns:2; column-fill:auto; column-gap:0; width:101px; height:100px; background:green;"> 11 <div style="position:relative; height:100px;"> 12 <div style="position:absolute; bottom:0;"> 13 <div style="position:absolute; bottom:0;"> 14 <div style="width:50px; height:50px; background:green;"></div> 15 </div> 16 </div> 17 </div> 18 </div> 19 <script> 20 document.body.offsetTop; 21 document.getElementById("multicol").style.width = "100px"; 22 </script>