summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/overflow-clip-015.html
blob: 1eb114458c1bf5a1a69620a6ea3a1f746248d610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1432946">
<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; gap:0; width:100px; height:100px; column-fill:auto; background:red;">
  <div style="position:relative; overflow-y:clip; height:200px;">
    <div style="height:150px;"></div>
    <div style="position:absolute; top:0; width:100%; height:300px;">
      <div style="height:200px; background:green;"></div>
      <div style="height:200px; background:red;"></div>
    </div>
    <div style="height:1000px; background:red;"></div>
  </div>
</div>