Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / remove-underline.html
blob10b564f87226c6a91f045d848aecf7de8dd250f4
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();
25 moveSelectionBackwardByWordCommand();
26 moveSelectionBackwardByWordCommand();
27 extendSelectionForwardByWordCommand();
28 underlineCommand();
31 </script>
33 <title>Editing Test</title>
34 </head>
35 <body>
36 <div contenteditable id="root" class="editing">
37 <span id="test"></span>
38 </div>
40 <script>
41 runDumpAsTextEditingTest();
42 </script>
44 </body>
45 </html>