blob: 1087775ad4aabfca551085748ffc262606a358e0 [file] [log] [blame]
commit-queue@webkit.org6b19ff62011-06-23 22:11:50 +00001<!DOCTYPE html>
kociendadd92f792004-10-25 21:52:20 +00002<html>
3<head>
4
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;
13}
14</style>
15<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
16
17<script>
18
19function editingTest() {
20 selectAllCommand();
21 deleteCommand();
22}
23
24</script>
25
26<title>Editing Test</title>
27
28<!--
29
30Expected results:
31
32All the content in the contenteditable div should be deleted,
33including the "you can't see this." span.
34
35-->
36
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>
43
44<script>
commit-queue@webkit.org6b19ff62011-06-23 22:11:50 +000045runDumpAsTextEditingTest(true);
kociendadd92f792004-10-25 21:52:20 +000046</script>
47
48</body>
49</html>