summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/abspos-in-opacity-003.html
blob: 13a1b31add5cb2c755dc6d36ee8e74a27de8a001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!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=1371426">
<link rel="match" href="../reference/ref-filled-greenish-100px-square.html">
<p>Test passes if there is a filled green-ish square and <strong>no red</strong>.</p>
<div style="columns:5; column-fill:auto; gap:0; width:100px; height:100px; background:green;">
  <div style="height:300px;"></div>
  <div style="position:relative; opacity:0.1;">
    <div style="position:absolute; top:-300px; width:100%;">
      <div style="height:500px; background:red;"></div>
    </div>
  </div>
</div>