Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-block-merge-contents-010.html
blob99122ff9c6c9372f972ee277dbc4eb9b08e0973b
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function editingTest() {
16 for (i = 0; i < 4; i++)
17 moveSelectionForwardByCharacterCommand();
18 deleteCommand();
19 for (i = 0; i < 4; i++)
20 moveSelectionForwardByCharacterCommand();
21 deleteCommand();
22 for (i = 0; i < 6; i++)
23 moveSelectionForwardByCharacterCommand();
24 deleteCommand();
27 </script>
29 <title>Editing Test</title>
30 </head>
31 <body>
32 <div contenteditable id="root" class="editing">
33 <div id="test">
34 One
35 <div>Two<br><div>Three<br></div></div>
36 Four
37 </div>
38 </div>
40 <script>
41 runEditingTest();
42 </script>
44 </body>
45 </html>