| 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; |
| 9 window.eventSender.mouseMoveTo(5, 8); | 11 window.eventSender.mouseMoveTo(5, 8); |
| 10 window.eventSender.mouseDown(); | 12 window.eventSender.mouseDown(); |
| 11 | 13 |
| 12 for (var x = 5; x < 600; x += 5) { | 14 for (var x = 5; x < 600; x += 5) { |
| 13 window.eventSender.mouseMoveTo(x, 8); | 15 window.eventSender.mouseMoveTo(x, 8); |
| 14 } | 16 } |
| 15 | 17 |
| 16 window.eventSender.mouseUp(); | 18 window.eventSender.mouseUp(); |
| 17 } | 19 } |
| 18 </script> | 20 </script> |
| 19 </head> | 21 </head> |
| 20 | 22 |
| 21 <body onload="main();"> | 23 <body onload="main();"> |
| 22 <p> | 24 <p> |
| 23 <nobr><b class="gb1">វ៉ែប</b> <a href= | 25 <nobr><b class="gb1">វ៉ែប</b> <a href= |
| 24 "http://images.google.com.kh/imghp?hl=km&tab=wi" class= | 26 "http://images.google.com.kh/imghp?hl=km&tab=wi" class= |
| 25 "gb1">រូបភាព</a> <a href= | 27 "gb1">រូបភាព</a> <a href= |
| 26 "http://groups.google.com.kh/grphp?hl=km&tab=wg" class= | 28 "http://groups.google.com.kh/grphp?hl=km&tab=wg" class= |
| 27 "gb1">ក្រុម</a> <a href= | 29 "gb1">ក្រុម</a> <a href= |
| 28 "http://www.google.com.kh/dirhp?hl=km&tab=wd" class= | 30 "http://www.google.com.kh/dirhp?hl=km&tab=wd" class= |
| 29 "gb1">ថតឯកសារ</a></nobr> | 31 "gb1">ថតឯកសារ</a></nobr> |
| 30 </p> | 32 </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> | 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> |
| 32 </body> | 34 </body> |
| 33 </html> | 35 </html> |
| OLD | NEW |