summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/grid/grid-item-oof-010.html
blob: 9b12550e6b2b82c5465c18d837e8fac9420e36de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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: 4; height: 100px; width: 100px; column-gap: 0; column-fill: auto; position: relative;">
  <div style="display: grid; height: 400px; align-items: center;">
    <div style="position: absolute; width: 25px; height: 100px; background: green;">
      <div style="height: 50px; width: 25px;"></div>
      <div style="height: 50px; width: 25px; background: white;"></div>
    </div>
    <div style="width: 25px; height: 100px; background: green;"></div>
    <div style="width: 25px; height: 100px; background: green;">
      <div style="height: 50px; width: 25px;"></div>
      <div style="height: 50px; width: 25px; background: red;"></div>
    </div>
    <div style="width: 25px; height: 100px; background: green;"></div>
    <div style="width: 25px; height: 100px; background: green;"></div>
  </div>
</div>