Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / unbold-in-bold.html
blob4f0000b3d0a90d7a4d27a03a6268f44267004e42
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 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 boldCommand();
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 runEditingTest();
42 </script>
44 </body>
45 </html>