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

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

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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;
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&amp;tab=wi" class= 24 "http://images.google.com.kh/imghp?hl=km&amp;tab=wi" class=
27 "gb1">រូបភាព</a> <a href= 25 "gb1">រូបភាព</a> <a href=
28 "http://groups.google.com.kh/grphp?hl=km&amp;tab=wg" class= 26 "http://groups.google.com.kh/grphp?hl=km&amp;tab=wg" class=
29 "gb1">ក្រុម</a> <a href= 27 "gb1">ក្រុម</a> <a href=
30 "http://www.google.com.kh/dirhp?hl=km&amp;tab=wd" class= 28 "http://www.google.com.kh/dirhp?hl=km&amp;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>
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