chromium/third_party/blink/web_tests/compositing/masks/masked-ancestor.html

<!DOCTYPE>

<html>
<head>
  <title>Masks with composited children</title>
  <style type="text/css" media="screen">
      .box {
        position: relative;
        width: 200px;
        height: 200px;
        margin: 30px;
        border: 10px solid black;
        background-color:rgba(100, 100, 255, 0.8);
        -webkit-box-sizing: border-box;
        -webkit-box-shadow: black 0 4px 4px;
      }

      .compositing {
        will-change: transform;
      }

      .masked {
        height: 560px;
        width: 260px;
        border: 1px solid black;
        display: inline-block;
        -webkit-mask-image: url(../resources/alpha-gradient.png);
        -webkit-mask-repeat: repeat-x;
      }

  </style>
</head>
<body>

  <p>Testing masks on compositing layers. Left and right columns should look the same.</p>
  <div id="container1" class="masked">
    <div class="box"></div>
  </div>

  <div id="container2" class="masked">
    <div class="compositing box"></div>
  </div>

</body>
</html>