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