OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>Testing Khmer selection</title> | 5 <title>Testing Khmer selection</title> |
6 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | 6 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
7 <script> | 7 <script> |
8 function main() { | 8 function main() { |
9 // Mouse events only work after an initial layout | |
10 document.body.offsetLeft; | |
11 window.eventSender.mouseMoveTo(5, 8); | 9 window.eventSender.mouseMoveTo(5, 8); |
12 window.eventSender.mouseDown(); | 10 window.eventSender.mouseDown(); |
13 | 11 |
14 for (var x = 5; x < 600; x += 5) { | 12 for (var x = 5; x < 600; x += 5) { |
15 window.eventSender.mouseMoveTo(x, 8); | 13 window.eventSender.mouseMoveTo(x, 8); |
16 } | 14 } |
17 | 15 |
18 window.eventSender.mouseUp(); | 16 window.eventSender.mouseUp(); |
19 } | 17 } |
20 </script> | 18 </script> |
21 </head> | 19 </head> |
22 | 20 |
23 <body onload="main();"> | 21 <body onload="main();"> |
24 <p> | 22 <p> |
25 <nobr><b class="gb1">វ៉ែប</b> <a href= | 23 <nobr><b class="gb1">វ៉ែប</b> <a href= |
26 "http://images.google.com.kh/imghp?hl=km&tab=wi" class= | 24 "http://images.google.com.kh/imghp?hl=km&tab=wi" class= |
27 "gb1">រូបភាព</a> <a href= | 25 "gb1">រូបភាព</a> <a href= |
28 "http://groups.google.com.kh/grphp?hl=km&tab=wg" class= | 26 "http://groups.google.com.kh/grphp?hl=km&tab=wg" class= |
29 "gb1">ក្រុម</a> <a href= | 27 "gb1">ក្រុម</a> <a href= |
30 "http://www.google.com.kh/dirhp?hl=km&tab=wd" class= | 28 "http://www.google.com.kh/dirhp?hl=km&tab=wd" class= |
31 "gb1">ថតឯកសារ</a></nobr> | 29 "gb1">ថតឯកសារ</a></nobr> |
32 </p> | 30 </p> |
33 <p>Some Harfbuzz shapers will output cluster logs which suggest that some glyp
hs had <i>no</i> contributing code points. This test contains such text and uses
<tt>eventSender</tt> to select the text. You should see some of the above text
selected and <tt>test_shell</tt> shouldn't trigger any assertions or crash.</p> | 31 <p>Some Harfbuzz shapers will output cluster logs which suggest that some glyp
hs had <i>no</i> contributing code points. This test contains such text and uses
<tt>eventSender</tt> to select the text. You should see some of the above text
selected and <tt>test_shell</tt> shouldn't trigger any assertions or crash.</p> |
34 </body> | 32 </body> |
35 </html> | 33 </html> |
OLD | NEW |