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

Side by Side Diff: LayoutTests/editing/selection/hit-test-on-text-with-line-height.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <style> 5 <style>
6 #test { width: 300px; font-size: 50px; line-height: 10px; border: solid 1px blac k; padding: 5px; } 6 #test { width: 300px; font-size: 50px; line-height: 10px; border: solid 1px blac k; padding: 5px; }
7 #test span { border: solid 1px red; } 7 #test span { border: solid 1px red; }
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
11 <p>This test ensures WebKit can place caret after the line even when the line-he ight is smaller than a line. 11 <p>This test ensures WebKit can place caret after the line even when the line-he ight is smaller than a line.
12 To manually test, click inside the black box outside the red box. 12 To manually test, click inside the black box outside the red box.
13 The caret should be placed at the end of "hello".</p> 13 The caret should be placed at the end of "hello".</p>
14 <p>Also test that when you click in the red box above or below the black box, ca ret is placed at where you clicked.</p> 14 <p>Also test that when you click in the red box above or below the black box, ca ret is placed at where you clicked.</p>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 debug('Click below black box'); 67 debug('Click below black box');
68 clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 1); 68 clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 1);
69 69
70 test.style.display = 'none'; 70 test.style.display = 'none';
71 } 71 }
72 72
73 73
74 </script> 74 </script>
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698