chromium/third_party/blink/web_tests/compositing/layer-creation/rotate3d-overlap.html

<!DOCTYPE html>
<html>
<head>
  <style type="text/css" media="screen">
    .box {
      position: relative;
      width: 100px;
      height: 100px;
      background-color: blue;
      margin: 20px;
      box-shadow: 0 0 3px black; /* make the compositing layers a little bigger */
    }
    
    .container {
      display: inline-block;
    }

    .translateZ {
      will-change: transform;
    }

    .rotate15 {
      transform: rotate3d(0, 0, 1, 15deg);
      will-change: transform;
    }

    .rotate45 {
      transform: rotate3d(0, 0, 1, 45deg);
      will-change: transform;
    }
  </style>
  <script type="text/javascript" charset="utf-8">
   if (window.testRunner)
     testRunner.dumpAsText();

   function doTest()
   {
       if (window.testRunner) {
         document.getElementById('results').innerText = internals.layerTreeAsText(document);
         testRunner.notifyDone();
       }
   }
   
   window.addEventListener('load', doTest, false);
  </script>
</head>
<body>
  <div class="container">
    <div class="box translateZ"></div>
    <!-- The second box should not be composited. -->
    <div class="box"></div>
  </div>

  <div class="container">
    <div class="composited box rotate15"></div>
    <!-- The second box should not be composited. -->
    <div class="box"></div>
  </div>

  <div class="container">
    <div class="composited box rotate45"></div>
    <!-- The second box should be composited. -->
    <div class="box"></div>
  </div>

  <pre id="results">Layer tree goes here in DRT.</pre>
</body>
</html>