Wheel events stop propagating when target element is removed from DOM
[WebKit-https.git] / LayoutTests / tiled-drawing / tiled-drawing-zoom-scrolled.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         body {
7             width: 1200px;
8             height: 2000px;
9         }
10     </style>
11     <script>
12         if (window.testRunner)
13             testRunner.dumpAsText();
14
15         function doTest()
16         {
17             if (window.eventSender)
18                 eventSender.scalePageBy(2.3, 0, 0);
19
20             window.scrollTo(800, 1000);
21
22             if (window.internals) {
23                 document.getElementById('layers').innerText = internals.layerTreeAsText(document,
24                     internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
25             }
26         }
27         window.addEventListener('load', doTest, false);
28     </script>
29 </head>
30 <body>
31 <pre id="layers">Layer tree goes here</p>
32 </body>
33 </html>