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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/delete-block-merge-contents-019.html

Issue 2254933003: Convert editing/deleting/delete-block-merge-contents-0{18,19,20,21}.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-18T18:17:54 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 }
10 .explanation {
11 border: 2px solid blue;
12 padding: 12px;
13 font-size: 24px;
14 margin-bottom: 24px;
15 }
16 </style>
17 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
18
19 <script>
20
21 function editingTest() {
22 moveSelectionForwardByCharacterCommand();
23 extendSelectionForwardByLineCommand();
24 extendSelectionForwardByLineCommand();
25 deleteCommand();
26 }
27
28 </script>
29
30 <title>Editing Test</title>
31 </head>
32 <body contenteditable="true" onload="runEditingTest()">
33 <div class="explanation">
34 Should see "XX" in a red box.
35 </div>
36
37 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-lin e-break: after-white-space;">
38 <div id="test" class="editing">
39 X
40 <div id="test" class="editing">
41 should not see this content<br>X
42 </div>
43 </div>
44 </div>
45
46 </body>
47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698