1
0
Fork 0
firefox/testing/web-platform/tests/css/css-break/grid/grid-item-oof-004.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

11 lines
841 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#pagination">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns: 2; height: 100px; width: 100px; column-gap: 0; column-fill: auto; background: red;">
<div style="position: relative; display: grid; height: 200px; grid-template-rows: 50px 100px;">
<div style="position: absolute; background: green; width: 50px; height: 100px;"></div>
<div style="grid-row-start: 2; break-before: column; height: 50px; background: green;"></div> <!-- break-before pushes this row into the 2nd column. -->
<div style="grid-row-start: 2; position: absolute; width: 50px; height: 50px; background: green; align-self: end;"></div>
</div>
</div>