Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / remove-underline-across-paragraph.html
blob3c1df238ca2cddd6cd01f825158fc5e6736970b0
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 insertParagraphCommand();
23 typeCharacterCommand(' ');
24 for (i = 0; i < 6; i++)
25 typeCharacterCommand();
26 typeCharacterCommand(' ');
27 for (i = 0; i < 6; i++)
28 typeCharacterCommand();
29 moveSelectionBackwardByWordCommand();
30 moveSelectionBackwardByWordCommand();
31 moveSelectionBackwardByWordCommand();
32 extendSelectionForwardByWordCommand();
33 extendSelectionForwardByWordCommand();
34 underlineCommand();
37 </script>
39 <title>Editing Test</title>
40 </head>
41 <body>
42 <div contenteditable id="root" class="editing">
43 <span id="test"></span>
44 </div>
46 <script>
47 runDumpAsTextEditingTest();
48 </script>
50 </body>
51 </html>