summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/grid/grid-item-oof-003.html
blob: 59235f9245d0cd75ea2090189a58e02dd79ed0da (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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 150px;">
    <div style="grid-row-start: 1; grid-row-end: 3; position: absolute; width: 50px; height: 150px; background: green; align-self: center;"></div>
    <div style="grid-row-start: 1; grid-row-end: 3; position: absolute; width: 50px; height: 25px; background: green; align-self: end;"></div>
    <div style="grid-row-start: 1; grid-row-end: 3; position: absolute; width: 50px; height: 25px; background: green; align-self: start;"></div>
  </div>
</div>