Wheel events stop propagating when target element is removed from DOM
[WebKit-https.git] / LayoutTests / tiled-drawing / visible-rect-content-inset.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <script>
6         if (window.testRunner)
7             testRunner.dumpAsText();
8         if (window.internals)
9             window.internals.setTopContentInset(100);
10
11         function doTest()
12         {
13             if (window.internals) {
14                 document.getElementById('layers').innerText = internals.layerTreeAsText(document,
15                     internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
16             }
17         }
18         window.addEventListener('load', doTest, false);
19     </script>
20 </head>
21 <body>
22 This test applies a content inset and then dumps the layer tree including visible rects. The visible rects should match the expected rects.
23 <pre id="layers">Layer tree goes here</p>
24 </body>
25 </html>