Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-ws-fixup-003.html
blob590c4f26666e1c71d00d01700dbed818c24629ef
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 word-wrap: break-word;
10 -khtml-nbsp-mode: space;
11 -khtml-line-break: after-white-space;
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
16 <script>
18 function editingTest() {
19 for (i = 0; i < 4; i++)
20 moveSelectionForwardByCharacterCommand();
21 for (i = 0; i < 3; i++)
22 extendSelectionForwardByCharacterCommand();
23 deleteCommand();
26 </script>
28 <title>Editing Test</title>
29 </head>
30 <body>
31 <div contenteditable id="root" class="editing">
32 <span id="test">bar baz<span> </span>foo</span>
33 </div>
35 <script>
36 runEditingTest();
37 </script>
39 </body>
40 </html>