Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-block-merge-contents-022.html
blobc7197f65f4b141f6bc8999e71fec8487c9ae1d7f
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 extendSelectionForwardByCharacterCommand();
26 deleteCommand();
29 </script>
31 <title>Editing Test</title>
32 </head>
33 <body contenteditable="true">
34 <div class="explanation">
35 Should see "XX" in outer red box, and another "XX" in an orange box nested in a green box.
36 </div>
38 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
39 <div id="test" class="editing">
41 <div class="editing" style="border-color: green;">
42 <div class="editing" style="border-color: purple;">should not see this content</div><div class="editing" style="border-color: yellow;">XX</div><div class="editing" style="border-color: orange;">XX</div>
43 </div>
44 </div>
45 </div>
47 <script>
48 runEditingTest();
49 </script>
51 </body>
52 </html>