grid-item-oof-007.html (875B)
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="columns: 2; height: 100px; width: 100px; column-gap: 0; column-fill: auto; background: red;"> 6 <div style="position: relative; display: grid; grid-template-rows: 50px auto 50px;"> 7 <div style="background: green;"> 8 <div style="position: absolute; background: green; grid-row-start: 2; inset: 0;"></div> 9 <div style="position: absolute; background: green; grid-row-start: 3; inset: 0;"></div> 10 </div> 11 <div> <!-- Expands row from 70px to 100px --> 12 <div style="break-inside: avoid; height: 20px;"></div> 13 <div style="break-inside: avoid; height: 50px;"></div> 14 </div> 15 </div> 16 </div>