Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / typing-style-003.html
blob13b161f6339264346c796006662a513179f919f9
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();
18 boldCommand();
19 for (i = 0; i < 3; i++)
20 typeCharacterCommand();
21 italicCommand();
22 for (i = 0; i < 3; i++)
23 typeCharacterCommand();
24 boldCommand();
25 for (i = 0; i < 3; i++)
26 typeCharacterCommand();
27 italicCommand();
28 for (i = 0; i < 3; i++)
29 typeCharacterCommand();
32 </script>
34 <title>Editing Test</title>
35 </head>
36 <body>
37 <div contenteditable id="root" class="editing">
38 <span id="test"></span>
39 </div>
41 <script>
42 runDumpAsTextEditingTest(true);
43 </script>
45 </body>
46 </html>