Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / 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; 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.eventSender) {
8             testRunner.dumpAsText();
9             window.eventSender.setPageScaleFactor(2, 0, 0);
10         }
11
12         document.execCommand("FindString", false, "target");
13         document.getElementById("result").innerText = document.body.scrollTop === 863.5 ? "PASS" : "FAIL (scrollTop:" + document.body.scrollTop + ")";
14     </script>
15 </body>