Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / hebrew-selection.html
blob8ff8da70a609419d3e07a6063f04a0c8bb3c4e1d
1 <!DOCTYPE html>
2 <html>
3 <body>
5 <!-- To calculate width of composed glyph -->
6 <div style="font-size:500%">
7 <span id="reference">&#x5e9;&#x5b0;</span>
8 </div>
10 <p>U+05e9 U+05b0 of following text should be selected.</p>
11 <div style="font-size:500%">
12 <span id="target">&#x5e1;&#x5b0;&#x5e9;&#x5b0;</span>
13 </div>
15 <script>
16 var width = document.getElementById("reference").offsetWidth;
17 var target = document.getElementById("target");
19 if (window.eventSender) {
20 window.eventSender.mouseMoveTo(target.offsetLeft + 5, target.offsetTop + 5);
21 window.eventSender.mouseDown();
22 window.eventSender.mouseMoveTo(target.offsetLeft + 5 + width / 2, target.offsetTop + 5);
23 window.eventSender.mouseUp();
25 </script>
26 </body>
27 </html>