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

Side by Side Diff: LayoutTests/editing/selection/move-by-line-006.html

Issue 1314643006: Don't use Ahem font in LayoutTests/editing/selection/move-by-line-006.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-09-07T10:40:31 Created 5 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/editing/selection/move-by-line-006-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script src="../../resources/ahem.js"></script>
4 <body> 3 <body>
5 <p>To manually run the test, put the cursor at the beginning of the next paragra ph, 4 <p>To manually run the test, put the cursor at the beginning of the next paragra ph,
6 and then press the down arrow key. The caret should go to the next line, 5 and then press the down arrow key. The caret should go to the next line,
7 not the beginning of the dashed section.</p> 6 not the beginning of the dashed section.</p>
8 7
9 <div id="result" style="font-family: Ahem; font-size: 16px; color: #fcc; width:4 00px;"> 8 <div id="result" style="font-family: monospace; font-size: 16px; color: #fcc; wi dth:400px;">
10 aaaa aaaa 9 aaaa aaaa
11 <span style="border-style: dashed; background-color: #000"> 10 <span style="border-style: dashed; background-color: #000">
12 aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa 11 aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa
13 aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa</span> 12 aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa</span>
14 </div> 13 </div>
15 <script src="../../resources/dump-as-markup.js"></script> 14 <script src="../../resources/dump-as-markup.js"></script>
16 <script> 15 <script>
17 document.designMode = 'on'; 16 document.designMode = 'on';
18 17
19 var selection = window.getSelection(); 18 var selection = window.getSelection();
20 var result = document.getElementById('result'); 19 var result = document.getElementById('result');
21 selection.collapse(result, 0); 20 selection.collapse(result, 0);
22 selection.modify('move', 'forward', 'line'); 21 selection.modify('move', 'forward', 'line');
23 22
24 Markup.dump('result'); 23 Markup.dump('result');
25 </script> 24 </script>
26 </body> 25 </body>
27 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/selection/move-by-line-006-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698