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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/delete-ws-fixup-002.html

Issue 2174683002: Convert editing/deleting/delete-ws-fixup-00[1234].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-22T15:44:49 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
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 word-wrap: break-word;
10 -khtml-nbsp-mode: space;
11 -khtml-line-break: after-white-space;
12 }
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
15
16 <script>
17
18 function editingTest() {
19 for (i = 0; i < 28; i++)
20 moveSelectionForwardByCharacterCommand();
21 for (i = 0; i < 2; i++)
22 extendSelectionForwardByCharacterCommand();
23 deleteCommand();
24 }
25
26 </script>
27
28 <title>Editing Test</title>
29 </head>
30 <body>
31 <p>This testcase demonstrates a bug (9441). When 'as' is deleted, there should be a space before and after the caret. Editing produces a tree that should resu lt in two spaces, but for some reason it isn't rendered.</p>
32 <div contenteditable id="root" class="editing">
33 <span id="test">in Liberty<i>F and seven</i> years <b> as </b>our fathers f upon this
34 continent, a new nation, conceived &nbsp;&nbsp; in Liberty, and dedicated to the
35 proposition that all</span>
36 </div>
37
38 <script>
39 runEditingTest();
40 </script>
41
42 </body>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698