chromium/third_party/blink/web_tests/compositing/overflow/accelerated-scrolling-with-clip-reference.html

<!DOCTYPE html>
<html>
<head>
<style>
  .clip-path {
    -webkit-clip-path: url('#clipping');
    clip-path: url('#clipping');
    overflow: scroll;
  }

  .outer {
    height: 400px;
    width: 400px;
    background-color: blue;
  }

  .inner {
    height: 500px;
    width: 500px;
    background-color: yellow;
  }

  .spacer {
    width: 100px;
    height: 100px;
    background-color: green;
  }

  .bottom {
    position: relative;
    top: 250px;
  }
</style>

<script>
  if (window.internals)
    internals.settings.setPreferCompositingToLCDTextEnabled(true);
</script>
</head>

<body>
This tests that reference clip-path is applied with composited scrolling. If the content and
scrollbars are properly clipped, this test passes.

<svg width="0", height="0">
  <defs>
    <clipPath id="clipping">
    <polygon points="61 237,9 313,115 386,621 356,280 339,505 187,414 61,164 143,84 42,2 189"></polygon>
    </clipPath>
  </defs>
</svg>

<div class="clip-path outer" id="outer">
  <div class="spacer"></div>
  <div class="inner">
    <div class="spacer bottom"></div>
  </div>
  <div class="spacer"></div>
</div>
</body>
</html>