Wheel events stop propagating when target element is removed from DOM
[WebKit-https.git] / LayoutTests / tiled-drawing / simple-document-with-margin-tiles.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         body {
7             width: 1200px;
8             height: 2000px;
9             /* The setBackgroundShouldExtendBeyondPage setting will only create margin tiles for documents
10                that have background images. */
11             background-image:url(resources/greenbox.png);
12             background-repeat:repeat;
13         }
14     </style>
15     <script>
16         if (window.testRunner)
17             testRunner.dumpAsText();
18
19         function doTest()
20         {
21             if (window.internals) {
22                 window.internals.settings.setBackgroundShouldExtendBeyondPage(true);
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
31 <body>
32 <pre id="layers">Layer tree goes here</p>
33 </body>
34 </html>