chromium/third_party/blink/web_tests/compositing/reflections/nested-reflection-transformed2.html

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <style>
  .outer {
    width: 120px;
    height: 230px;
    margin: 20px;
    border: 1px solid black;
    -webkit-box-reflect: right 10px;
    outline: 10px solid transparent; /* affects layer sizes */
    will-change: transform;
    transform: translateZ(0);
  }
  
  .inner {
    margin: 10px;
    width: 100px;
    height: 100px;
    background-color: green;
    text-align: center;
    font-size: 50pt;
    -webkit-box-reflect: below 10px;
    transform: translateZ(0);
  }
  </style>
  <script type="text/javascript" charset="utf-8">
    function doTest()
    {
      document.getElementById('inner').style.webkitTransform = 'rotate(10deg)';
    }
    window.addEventListener('load', doTest, false);
  </script>
  </head>
<body>
  <p>Test transform change on reflected elements, with compositing layers larger than render layers. Left and right side should be symmetrical.</p>
  <div class="outer">
    <div id="inner" class="inner">
      1
    </div>
  </div>
</body>
</html>