chromium/third_party/blink/web_tests/compositing/layer-creation/translatez-added.html

<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    .box {
        height: 200px;
        width: 200px;
        margin: 10px;
        padding: 5px;
        background-color: blue;
    }
    
    .composited {
      will-change: transform;
    }

  </style>
  <script type="text/javascript" charset="utf-8">
    if (window.testRunner) {
        testRunner.dumpAsText();
    }

    function doTest()
    {
      document.getElementById('test').className = 'box composited';
      if (window.testRunner) {
        document.getElementById('layers').innerText = internals.layerTreeAsText(document);
      }
    }
    window.addEventListener('load', doTest, false);
  </script>
</head>
<body>
    <!-- This test div starts without with a 3d transform, but should be
         promoted to a composited layer before the test completes. -->
    <div id="test" class="box">
    </div>

    <pre id="layers">Layer tree appears here in DRT.</pre>
</body>
</html>