summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/contain-strict-with-opacity-and-oof.html
blob: b3323a60c75247249f4494834bbf2b57dda172d4 (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://www.w3.org/TR/css-break-3/">
<link rel="match" href="contain-strict-with-opacity-and-oof-ref.html">
<p>There should be a (pale) green square below, and no (pale) red.</p>
<div style="columns:3; margin-top:-50px; column-fill:auto; height:200px;">
  <div style="height:50px;"></div>
  <div style="will-change:transform; contain:strict; width:100px; height:100px;">
    <div style="opacity:0.2; width:100px; height:100px; background:red;">
      <div style="position:absolute; width:100px; height:100px; background:green;"></div>
    </div>
  </div>
</div>