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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/delete-block-merge-contents-021.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 extendSelectionForwardByCharacterCommand();
26 deleteCommand();
27 }
28
29 </script>
30
31 <title>Editing Test</title>
32 </head>
33 <body contenteditable="true">
34 <div class="explanation">
35 Should see "XX" in a top red box, and another "XX" in a red box inside the first .
36 </div>
37
38 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-lin e-break: after-white-space;">
39 <div id="test" class="editing">
40 X
41 <div id="test" class="editing">
42 should not see this content<br>XX<br>XX
43 </div>
44 </div>
45 </div>
46
47 <script>
48 runEditingTest();
49 </script>
50
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698