Reviewed by John.
[WebKit-https.git] / LayoutTests / editing / undo / undo-typing-001.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     typeCharacterCommand();
17     undoCommand();
18 }
19
20 </script>
21
22 <title>Editing Test</title> 
23 </head> 
24 <body>
25 <div contenteditable id="root" class="editing">
26 <span id="test">XX
27 </div>
28
29 <script>
30 runEditingTest();
31 </script>
32
33 </body>
34 </html>