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

Side by Side Diff: LayoutTests/editing/selection/internal-caret-rect.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/ahem.js"></script>
4 <script src="../../resources/js-test.js" type="text/javascript"></script> 5 <script src="../../resources/js-test.js" type="text/javascript"></script>
5 <style> 6 <style>
6 body { 7 body {
7 font: 20px Ahem; 8 font: 20px Ahem;
8 } 9 }
9 </style> 10 </style>
10 </head> 11 </head>
11 <body> 12 <body>
12 <p> Bug <a href="http://webkit.org/b/86390">86390</a>: Expose FrameSelection::ab soluteCaretBounds via window.internals</p> 13 <p> Bug <a href="http://webkit.org/b/86390">86390</a>: Expose FrameSelection::ab soluteCaretBounds via window.internals</p>
13 <p>This test demonstrates the usage of window.internals.absoluteCaretBounds()</p > 14 <p>This test demonstrates the usage of window.internals.absoluteCaretBounds()</p >
(...skipping 20 matching lines...) Expand all
34 getSelection().collapse(textNode, 1); // after a 35 getSelection().collapse(textNode, 1); // after a
35 verifyCaretRect(28, 160, 1, 20); 36 verifyCaretRect(28, 160, 1, 20);
36 getSelection().collapse(textNode, 2); // after b 37 getSelection().collapse(textNode, 2); // after b
37 verifyCaretRect(48, 160, 1, 20); 38 verifyCaretRect(48, 160, 1, 20);
38 getSelection().collapse(textNode, 3); // after c 39 getSelection().collapse(textNode, 3); // after c
39 verifyCaretRect(68, 160, 1, 20); 40 verifyCaretRect(68, 160, 1, 20);
40 getSelection().collapse(textNode, 4); // after d 41 getSelection().collapse(textNode, 4); // after d
41 verifyCaretRect(88, 160, 1, 20); 42 verifyCaretRect(88, 160, 1, 20);
42 </script> 43 </script>
43 </html> 44 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/selection/caret-in-empty-inline-2.html ('k') | LayoutTests/editing/selection/move-by-line-005.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698