Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-select-all-002.html
blob1087775ad4aabfca551085748ffc262606a358e0
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 "you can't see this." span.
35 -->
37 </head>
38 <body>
39 <div contenteditable id="root" class="editing">
40 <span style="display: hidden">you can't see this.</span>
41 <span id="test">you can see this.</span>
42 </div>
44 <script>
45 runDumpAsTextEditingTest(true);
46 </script>
48 </body>
49 </html>