Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / style-3681552-fix-001.html
blobe62eccba2e527f8d0bb960ca963ad3966bd27385
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 < 8; i++)
17 moveSelectionForwardByCharacterCommand();
18 for (i = 0; i < 4; i++)
19 extendSelectionForwardByCharacterCommand();
20 for (i = 0; i < 4; i++)
21 typeCharacterCommand();
24 </script>
26 <title>Editing Test</title>
27 </head>
28 <body>
29 <div contenteditable id="root" class="editing">
30 <span id="test">here is <i>some</i> text</span>
31 </div>
33 <script>
34 runEditingTest();
35 </script>
37 </body>
38 </html>