grid-item-fragmentation-043.html (788B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-grid-1/#pagination"> 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: relative; columns: 2; width: 100px; height: 100px; gap: 0; background: red;"> 6 <div style="display: grid;"> 7 <div style="height: 50px; background: green;"></div> 8 <div> 9 <div style="break-inside: avoid; height: 100px; background: green;"></div> <!-- A space shortage should be reported due to this. --> 10 </div> 11 <div style="break-inside: avoid; width: 0; height: 50px;"></div> 12 </div> 13 <div style="position: absolute; width: 50px; height: 50px; bottom: 0; left: 0; background: green;"></div> 14 </div>