Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / underline.html
blob397674cf3d6a37b4208ba1a13e64148e0542cfc9
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 underlineCommand();
17 for (i = 0; i < 6; i++)
18 typeCharacterCommand();
19 typeCharacterCommand(' ');
20 for (i = 0; i < 6; i++)
21 typeCharacterCommand();
22 typeCharacterCommand(' ');
23 for (i = 0; i < 6; i++)
24 typeCharacterCommand();
27 </script>
29 <title>Editing Test</title>
30 </head>
31 <body>
32 <div contenteditable id="root" class="editing">
33 <span id="test"></span>
34 </div>
36 <script>
37 runDumpAsTextEditingTest();
38 </script>
40 </body>
41 </html>