Remove unused "acceleratedCompositingForScrollableFramesEnabled" setting
[WebKit-https.git] / LayoutTests / compositing / iframes / iframe-composited-scrolling.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <style>
5     iframe {
6       height: 150px;
7       width: 150px;
8     }
9   </style>
10   <script>
11     if (window.internals) {
12       internals.settings.setForceCompositingMode(true);
13       internals.settings.setCompositedScrollingForFramesEnabled(true);
14     }
15     function doTest()
16     {
17       if (window.testRunner) {
18         testRunner.dumpAsText(false);
19         if (window.internals)
20           document.getElementById("result").innerText = window.internals.nonFastScrollableRects().length ? "FAIL" : "PASS";
21       }
22     }
23     window.addEventListener("load", doTest, false);
24   </script>
25 </head>
26 <body>
27   <iframe id="scrollable-iframe" src="resources/subframe.html" style="width: 100px; height: 100px"></iframe>
28   <iframe id="non-scrollable-iframe" src="resources/subframe.html" style="width: 2000px; height: 2000px"></iframe>
29   <pre id="result"></pre>
30 </body>
31 </html>