Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / typing-001.html
bloba56ea044b94efc457564a44eefae7821b96bb836
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function editingTest() {
16 for (i = 0; i < 3; i++) {
17 typeCharacterCommand();
19 for (i = 0; i < 2; i++) {
20 moveSelectionForwardByCharacterCommand();
22 for (i = 0; i < 3; i++) {
23 typeCharacterCommand();
25 for (i = 0; i < 2; i++) {
26 moveSelectionForwardByCharacterCommand();
28 for (i = 0; i < 3; i++) {
29 typeCharacterCommand();
33 </script>
35 <title>Editing Test</title>
36 </head>
37 <body>
38 <div contenteditable id="root" class="editing">
39 <span id="test">XXXX</span>
40 </div>
42 <script>
43 runEditingTest();
44 </script>
46 </body>
47 </html>