Move internals.settings.setPageScaleFactor to internals.setPageScaleFactor
[WebKit-https.git] / LayoutTests / fast / transforms / selection-bounds-in-transformed-view.html
1 <body style="font: 20px ahem; margin: 0;">
2     <div id="result" style="outline: solid blue; height: 100px; width: 100px; -webkit-transform: translatez(0)"></div>
3     <div style="height: 900px"></div>
4     <div style="height: 100px;">target</div>
5     <div style="height: 1000px;"></div>
6     <script>
7         if (window.testRunner && window.internals) {
8             testRunner.dumpAsText();
9             window.internals.setPageScaleFactor(2, 0, 0);
10         }
11
12         document.execCommand("FindString", false, "target");
13         document.getElementById("result").innerText = document.body.scrollTop === 864 ? "PASS" : "FAIL";
14     </script>
15 </body>