Reviewed by Chris
[WebKit-https.git] / LayoutTests / editing / deleting / delete-select-all-003.html
1 <html> 
2 <head>
3
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;
12 }
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
15
16 <script>
17
18 function editingTest() {
19     selectAllCommand();
20     deleteCommand();
21 }
22
23 </script>
24
25 <title>Editing Test</title> 
26
27 <!-- 
28
29 Expected results:
30
31 All the content in the contenteditable div should be deleted, 
32 including the unordered list element.
33
34 -->
35
36 </head> 
37 <body>
38 <div contenteditable id="root" class="editing">
39 <ul id="test"><li>one</li><li>two</li><li>three</li></ul>
40 </div>
41
42 <script>
43 runEditingTest();
44 </script>
45
46 </body>
47 </html>