summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/scaling/tiled-layer-recursion.html
blob: 18f81d18de2208bf987e40bd7813be22d0ae33d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>

<html>
<head>
  <style>
    ::-webkit-scrollbar {
      width: 0px;
      height: 0px;
    }
    .composited {
      background-color: green;
      width: 200px;
      height: 1333px;
      transform: translateZ(0);
    }
  </style>
  <script>
    if (window.testRunner)
      testRunner.dumpAsTextWithPixelResults();

    function scalePage()
    {
      if (window.internals)
        window.internals.setPageScaleFactor(1.50025);
    }

    window.addEventListener('load', scalePage, false);
  </script>
</head>
<body>
  <!-- This test should not crash. -->
  <div class="composited"></div>
</body>
</html>