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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/pasteboard/paste-text-009.html

Issue 2322853004: Convert an assertion to if-condition in ReplaceSelectionCommand::doApply() (Closed)
Patch Set: 2016-09-12T14:19:36 Created 4 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
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
12
13 <script>
14
15 function editingTest() {
16 for (i = 0; i < 76; i++)
17 moveSelectionForwardByCharacterCommand();
18 for (i = 0; i < 2; i++)
19 extendSelectionForwardByCharacterCommand();
20 copyCommand();
21 pasteCommand();
22 pasteCommand();
23 }
24
25 </script>
26
27 <title>Editing Test</title>
28 </head>
29 <body contenteditable id="root">
30
31 <div class="editing" id="test">Omitted, all the voyage of their life,<div class= "editing">Is bound in shallows and in miseries.</div>Upon such a full sea are we now afloat,</div>
32
33 <script>
34 runEditingTest();
35 </script>
36
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698