Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-contiguous-ws-001.html
blob904a7cf22b35f0072cc0c8bba001bbd3ad86dbae
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();
19 for (i = 0; i < 3; i++) {
20 extendSelectionForwardByCharacterCommand();
22 deleteCommand();
25 </script>
27 <title>Editing Test</title>
28 </head>
29 <body>
30 <div contenteditable id="root" class="editing">
31 <span id="test">foo bar
33 baz</span>
34 </div>
36 <script>
37 runEditingTest();
38 </script>
40 </body>
41 </html>