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

Side by Side Diff: LayoutTests/editing/deleting/delete-br-006.html

Issue 18884002: Make editing/deleting/delete-br-00[1-7].html platform independent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
(Empty)
1 <html>
2 <head>
3
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 width: 599px;
10 }
11 </style>
12 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
13
14 <script>
15
16 function editingTest() {
17 for (i = 0; i < 23; i++) {
18 moveSelectionForwardByCharacterCommand();
19 }
20 deleteCommand();
21 deleteCommand();
22 deleteCommand();
23
24 // This should not be necessary, but due to the following bug, the caret
25 // does not repaint in the proper position. Changing the size of the DIV
26 // is a workaround. The bug:
27 // <rdar://problem/3608445>: Garbage characters rendered after doing delete. Resize makes them go away.
28 changeRootSize();
29 }
30
31 </script>
32
33 <title>Editing Test</title>
34 </head>
35 <body>
36 <div contenteditable id="root" class="editing">
37 <span id="test">Fourscore
38 and seven <br><br><br>years ago</span>
39 </div>
40
41 <script>
42 runEditingTest();
43 </script>
44
45 </body>
46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/deleting/delete-br-005-expected.txt ('k') | LayoutTests/editing/deleting/delete-br-006-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698