grid-item-oof-004.html (841B)
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; height: 200px; grid-template-rows: 50px 100px;"> 7 <div style="position: absolute; background: green; width: 50px; height: 100px;"></div> 8 <div style="grid-row-start: 2; break-before: column; height: 50px; background: green;"></div> <!-- break-before pushes this row into the 2nd column. --> 9 <div style="grid-row-start: 2; position: absolute; width: 50px; height: 50px; background: green; align-self: end;"></div> 10 </div> 11 </div>