blob: 74e0b08d60ce9a0664df6cd500aa1004559f28dd [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Testing Khmer selection</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script>
function main() {
window.eventSender.mouseMoveTo(5, 8);
window.eventSender.mouseDown();
for (var x = 5; x < 600; x += 5) {
window.eventSender.mouseMoveTo(x, 8);
}
window.eventSender.mouseUp();
}
</script>
</head>
<body onload="main();">
<p>
<nobr><b class="gb1">វ៉ែប</b> <a href=
"http://images.google.com.kh/imghp?hl=km&amp;tab=wi" class=
"gb1">រូបភាព</a> <a href=
"http://groups.google.com.kh/grphp?hl=km&amp;tab=wg" class=
"gb1">ក្រុម</a> <a href=
"http://www.google.com.kh/dirhp?hl=km&amp;tab=wd" class=
"gb1">ថតឯកសារ</a></nobr>
</p>
<p>Some Harfbuzz shapers will output cluster logs which suggest that some glyphs 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>
</body>
</html>