block-end-aligned-abspos-with-overflow.html (1117B)
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="block-end-aligned-abspos-with-overflow-ref.html"> 6 <meta name="assert" content="Check that content that overflows a tall bottom-aligned abspos fragments properly"> 7 <style> 8 body { overflow:scroll; } /* Auto scrollbars may hide bugs. */ 9 </style> 10 <p>There should be a green square below, and a smaller hotpink square.</p> 11 <div style="columns:2; width:100px; height:100px; column-fill:auto; column-gap:0; background:white;"> 12 <div style="position:relative; height:100%;"> 13 <div style="position:absolute; width:20px; bottom:20px;"> 14 <div style="height:10px; background:white;"> 15 <div style="background:hotpink;"> 16 <div style="height:10px; background:white;"></div> 17 <div style="break-inside:avoid; width:50px; height:50px; background:green;"></div> 18 </div> 19 </div> 20 </div> 21 </div> 22 </div>