Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-block-merge-contents-018.html
blob3f0b11a7334e68d72e15dd21ba1097cdfb81eef8
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 .explanation {
11 border: 2px solid blue;
12 padding: 12px;
13 font-size: 24px;
14 margin-bottom: 24px;
16 </style>
17 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
19 <script>
21 function editingTest() {
22 moveSelectionForwardByCharacterCommand();
23 extendSelectionForwardByLineCommand();
24 extendSelectionForwardByCharacterCommand();
25 deleteCommand();
28 </script>
30 <title>Editing Test</title>
31 </head>
32 <body contenteditable="true">
33 <div class="explanation">
34 Should see "Test OK" in top red box, followed by "...more text", in its own red box.
35 </div>
37 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id="test" class="editing">
40 <div id="test" class="editing">
41 xest OK<br>...more text
42 </div>
43 </div>
44 </div>
46 <script>
47 runEditingTest();
48 </script>
50 </body>
51 </html>