Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / iframe.html
blob92dc012036946fb8fffd5275692929fe9e928955
1 <html>
2 <head>
4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
6 <script>
8 function editingTest() {
9 for (var i = 0; i < 50; i++) {
10 moveSelectionForwardByCharacterCommand();
12 for (var i = 0; i < 50; i++) {
13 moveSelectionBackwardByCharacterCommand();
17 </script>
19 <title>Editing Test</title>
20 </head>
21 <body>
22 <p>This tests caret movement across an iframe. The caret shouldn't enter the iframe as the user arrows across it (unless we decide later that we want it to).</p>
23 <div contenteditable id="root" class="editing">
24 <div id="test">
25 iframe: <iframe style="border: 1px solid black" width="400px" height="200px" src="inline-table.html"></iframe>
26 the end ...
27 </div>
28 </div>
29 <script>
30 runEditingTest();
31 </script>
33 </body>
34 </html>