Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / atsui-pointtooffset-calls-cg.html
blob3af3db88946bc5a71cd9439de1bce9d11a64b516
1 <html>
2 <head>
3 <title>pointToOffset always takes the CG code path</title>
4 <script type="text/javascript">
5 function step7()
7 eventSender.mouseUp();
8 testRunner.notifyDone();
11 function step4()
13 eventSender.mouseDown();
14 window.setTimeout(step7, 1);
17 function step3()
19 eventSender.mouseMoveTo(39, 10);
20 window.setTimeout(step4, 1000);
23 step3();
24 testRunner.waitUntilDone();
25 </script>
26 </head>
27 <body style="margin: 0; padding: 0;"">
28 <!-- The &#x0300;s force ATSUI rendering; when measured by
29 the CG code path, they take up extra width -->
30 e&#x0300;e&#x0300;e&#x0300;e&#x0300;e&#x0300;e&#x0300;X
31 <hr>
32 This tests for regressions against
33 <i>http://bugzilla.opendarwin.org/show_bug.cgi?id=5878 pointToOffset
34 always takes the CG code path</i> by clicking the X and verifying that the
35 correct caret position (13) is reported to the editing delegate.
36 </body>
37 </html>