Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-block-merge-contents-019.html
blobd9f5189f443bc82990c0fe84625896ebf0ad31cd
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 extendSelectionForwardByLineCommand();
25 deleteCommand();
28 </script>
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>
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 should not see this content<br>X
42 </div>
43 </div>
44 </div>
46 </body>
47 </html>