chromium/third_party/blink/web_tests/compositing/overflow/rtl-overflow-expected.html

<!DOCTYPE html>
<html>
<head>
  <title>Composited overflow scrolling for RTL</title>
  <style>
    .container {
      width: 400px;
      height: 150px;
      overflow: scroll;
    }
    .container::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    .overflow {
      display: inline-block;
      width: 1000px;
      position: relative;
    }
    .right {
      width: 100px;
      height: 100px;
      position: absolute;
      right: 0;
      background-color: red;
    }
    .left {
      width: 100px;
      height: 100px;
      position: absolute;
      left: 0;
      background-color: blue;
    }
  </style>
</head>
<body>
  <div style="will-change:transform;">
    This test succeeds if the two blocks correctly show content scrolled to the rightmost and leftmost respectively.
  </div>
  <div class="container" id="first">
    <div class="overflow">
      <div class="left"></div>
      <div class="right"></div>
    </div>
  </div>
  <div class="container">
    <div class="overflow">
      <div class="left"></div>
      <div class="right"></div>
    </div>
  </div>
  <script>
    document.getElementById('first').scrollLeft = 600;
  </script>
</body>
</html>