Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Side by Side Diff: LayoutTests/fast/text/international/khmer-selection.html

Issue 14859016: Don't force layout for mouse event hit tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix review comment Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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&amp;tab=wi" class= 26 "http://images.google.com.kh/imghp?hl=km&amp;tab=wi" class=
25 "gb1">រូបភាព</a> <a href= 27 "gb1">រូបភាព</a> <a href=
26 "http://groups.google.com.kh/grphp?hl=km&amp;tab=wg" class= 28 "http://groups.google.com.kh/grphp?hl=km&amp;tab=wg" class=
27 "gb1">ក្រុម</a> <a href= 29 "gb1">ក្រុម</a> <a href=
28 "http://www.google.com.kh/dirhp?hl=km&amp;tab=wd" class= 30 "http://www.google.com.kh/dirhp?hl=km&amp;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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/atsui-rtl-override-selection.html ('k') | LayoutTests/fast/text/textIteratorNilRenderer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698