Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-select-all-003.html
blobb48a455c4299ca940be113de19ffa567b579333f
1 <!DOCTYPE html>
2 <html>
3 <head>
5 <style>
6 .editing {
7 border: 2px solid red;
8 padding: 12px;
9 font-size: 24px;
10 word-wrap: break-word;
11 -khtml-nbsp-mode: space;
12 -khtml-line-break: after-white-space;
14 </style>
15 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
17 <script>
19 function editingTest() {
20 selectAllCommand();
21 deleteCommand();
24 </script>
26 <title>Editing Test</title>
28 <!--
30 Expected results:
32 All the content in the contenteditable div should be deleted,
33 including the unordered list element.
35 -->
37 </head>
38 <body>
39 <div contenteditable id="root" class="editing">
40 <ul id="test"><li>one</li><li>two</li><li>three</li></ul>
41 </div>
43 <script>
44 runDumpAsTextEditingTest(true);
45 </script>
47 </body>
48 </html>