abspos-in-offset-relpos.html (834B)
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/"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="columns:2; column-gap:0; column-fill:auto; width:100px; height:100px; background:red;"> 7 <div style="height:0;"> 8 <div style="height:100px;"></div> 9 <!-- Fill the second column, in a parallel flow (overflow): --> 10 <div style="height:100px; background:green;"></div> 11 </div> 12 <div style="position:relative; top:25px; height:75px; background:red;"> 13 <!-- Fill the first column: --> 14 <div style="position:absolute; top:-25px; width:100%; height:100px; background:green;"></div> 15 </div> 16 </div>