Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / layers / clip-rects-assertion.html
bloba7019e5e109f031c69eda535e3b2f09bd9e2fd26
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 .container {
7 height: 200px;
8 width: 200px;
9 margin: 10px;
10 border: 1px solid black;
11 -webkit-perspective: 500px;
14 .container:hover {
15 transform: translateX(0);
18 .box {
19 width: 100px;
20 height: 100px;
21 margin: 50px;
22 background-color: blue;
23 opacity: 0.5;
25 </style>
26 <script>
27 if (window.testRunner)
28 testRunner.dumpAsText();
30 function doTest()
32 if (!window.eventSender)
33 return;
35 eventSender.mouseMoveTo(5, 5);
36 document.body.offsetTop;
37 eventSender.mouseMoveTo(6, 6);
39 eventSender.mouseMoveTo(50, 50);
40 document.body.offsetTop;
41 eventSender.mouseMoveTo(51, 51);
44 window.addEventListener('load', doTest, false);
45 </script>
46 </head>
47 <body>
48 <p>This test should not assert in debug builds.</p>
49 <div class="container">
50 <div class="box"></div>
51 </div>
52 </body>
53 </html>