Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-text-004.html
blob7f5b02c0be6342a7c941ad593bcfd739c45ff2c6
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 for (i = 0; i < 6; i++)
17 moveSelectionForwardByCharacterCommand();
18 for (i = 0; i < 33; i++)
19 extendSelectionForwardByCharacterCommand();
20 copyCommand();
21 pasteCommand();
24 </script>
26 <title>Editing Test</title>
27 </head>
28 <body contenteditable id="root">
29 <div id="test" class="editing">There is a tide in the affairs of men,</div>
30 <div class="editing">Which taken at the flood leads on to fortune.</div>
31 <div class="editing">Omitted, all the voyage of their life,</div>
32 <div class="editing">Is bound in shallows and in miseries.</div>
34 <script>
35 runEditingTest();
36 </script>
38 </body>
39 </html>