Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / inline-table.html
blob67212d56c5412ad07b904557ef23f3eb6ef3c8eb
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 < 70; i++) {
10 moveSelectionForwardByCharacterCommand();
12 for (var i = 0; i < 70; i++) {
13 moveSelectionBackwardByCharacterCommand();
17 </script>
19 <title>Editing Test</title>
20 </head>
21 <body>
22 <p>This tests caret movement through an inline table. There should be visual positions before and after the inline table, as if it were an image. The caret shouldn't skip across the table, but should enter it (unless we later decide that we don't want this behavior).</p>
23 <div contenteditable id="root" class="editing">
24 <div id="test">
25 Inline Table:<TABLE border="1" style="display: inline">
26 <TBODY><TR><TD>One</TD><TD>Two</TD><TD>Three</TD></TR><TR><TD>Four</TD><TD>Five</TD><TD>Six</TD></TR><TR><TD>Seven</TD><TD>Eight</TD><TD>Nine</TD></TR></TBODY></TABLE>The End...
27 </div>
28 </div>
29 <script>
30 runEditingTest();
31 </script>
33 </body>
34 </html>