Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / extend-by-character-003.html
blob9e43e1df766948546be7afe324ce4f779fa240e3
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 moveSelectionForwardByCharacterCommand();
17 moveSelectionForwardByCharacterCommand();
18 for (i = 0; i < 157; i++) {
19 extendSelectionForwardByCharacterCommand();
23 </script>
25 <title>Editing Test</title>
26 </head>
27 <body>
28 <div contenteditable id="root" class="editing">
29 <span id="test"><i>F and seven</i> years <b> as </b>our fathers f upon this
30 continent, a new nation, conceived &nbsp;&nbsp; in Liberty, and dedicated to the
31 proposition that all
32 <br>men are created equal.</span>
33 </div>
35 <script>
36 runEditingTest();
37 </script>
39 </body>
40 </html>