Need a way to test the tile cache with margins enabled
[WebKit-https.git] / LayoutTests / platform / mac-wk2 / 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         }
10     </style>
11     <script>
12         if (window.testRunner)
13             testRunner.dumpAsText();
14         
15         if (window.internals)
16             window.internals.settings.setBackgroundShouldExtendBeyondPage(true);
17
18         function doTest()
19         {
20             if (window.internals) {
21                 document.getElementById('layers').innerText = internals.layerTreeAsText(document,
22                     internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
23             }
24         }
25         window.addEventListener('load', doTest, false);
26     </script>
27 </head>
28 <body>
29 <pre id="layers">Layer tree goes here</p>
30 </body>
31 </html>