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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/undo/4063751.html

Issue 2249833003: Convert editing/undo/4063751.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-17T10:59:55 Created 4 years, 4 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 | third_party/WebKit/LayoutTests/editing/undo/redo_rebalance_whitespace.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <link rel=stylesheet href="../editingStyle.css" type="text/css">
5 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
6
7 <script>
8
9 function editingTest() {
10 moveSelectionForwardByCharacterCommand();
11 moveSelectionForwardByCharacterCommand();
12
13 var string = "this is a test. ";
14 for (var i = 0; i < string.length; i++)
15 typeCharacterCommand(string[i]);
16 undoCommand();
17 redoCommand();
18 undoCommand();
19 redoCommand();
20 }
21
22 </script>
23
24 <title>Redo Typing can add extra space characters</title>
25 </head>
26 <body>
27
28 <p>This tests RebalanceWhitespace's ability to Undo.</p>
29 <p>You should see "( this is a test. )", minus the quotes.</p>
30
31 <hr>
32
33 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: s pace; -khtml-line-break: after-white-space;">
34 <div id="test" class="editing">( )</div>
35 </div>
36
37 <script>
38 runEditingTest();
39 </script>
40
41 </body>
42 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/undo/redo_rebalance_whitespace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698