chromium/third_party/blink/web_tests/compositing/reflections/nested-reflection-transition.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;
  }
  
  .reflected {
    width: 100px;
    height: 100px;
    -webkit-box-reflect: below 10px;
  }

  #inner {
    margin: 10px;
    width: 100px;
    height: 100px;
    background-color: green;
    text-align: center;
    font-size: 50pt;
    -webkit-transition: -webkit-transform 1s linear;
  }
  
  .rotated {
    transform: rotate(90deg);
  }
  .composited {
    will-change: transform;
  }
  </style>
  <script src="../../animations/resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8">

    const expectedValues = [
      // [time, element-id, property, expected-value, tolerance]
      [0.5, 'inner', '-webkit-transform.1', 0.707107, 0.000001],
    ];

    function setupTest()
    {
      document.getElementById('inner').className = 'rotated';
    }
    runTransitionTest(expectedValues, setupTest, undefined, true /* pixel test */);
  </script>
  </head>
<body>
  <div class="outer composited">
    <div class="reflected composited">
      <div id="inner">
        1
      </div>
    </div>
  </div>
  <div id="result"></div>
</body>
</html>