[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / text / atsui-pointtooffset-calls-cg.html
1 <html>
2 <head>
3 <title>pointToOffset always takes the CG code path</title>
4 <script type="text/javascript">
5 function step7()
6 {
7     eventSender.mouseUp();
8     layoutTestController.notifyDone();
9 }
10
11 function step4()
12 {
13     eventSender.mouseDown();
14     window.setTimeout(step7, 1);
15 }
16
17 function step3()
18 {
19     eventSender.mouseMoveTo(39, 10);
20     window.setTimeout(step4, 1000);
21 }
22
23 step3();
24 layoutTestController.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>