summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/transforms/container-transform-crash.html
blob: 9f0cf2d9ac42b3eeead5b486afee7ad0dd61d6f3 (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
<html>
  <head>
    <script>
      if (window.testRunner)
        testRunner.dumpAsText();
    </script>
    <style>
      .container {
        position: relative;
        height: 350px;
        width: 400px;
        border: 1px solid black;
        margin: 10px;
      }
      
      .container > a {
        transform: rotate(20deg);
      }
    </style>
  </head>
<body>
    Inline with -webkit-transform that contains positioned element. This should not crash.
    <div class="container">
        <a href="#">
            <div style="height: 150px; top: 100px; width: 160px; background-color: grey; position: absolute; left: 134px;"><p>some text here</p></div>
        </a>
    </div>
</body>
</html>