OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 | 3 |
4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script
> | 4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script
> |
5 | 5 |
6 <script> | 6 <script> |
7 | 7 |
8 function editingTest() { | 8 function editingTest() { |
9 for (var i = 0; i < 70; i++) { | 9 for (var i = 0; i < 70; i++) { |
10 moveSelectionForwardByCharacterCommand(); | 10 moveSelectionForwardByCharacterCommand(); |
11 } | 11 } |
12 for (var i = 0; i < 70; i++) { | 12 for (var i = 0; i < 70; i++) { |
13 moveSelectionBackwardByCharacterCommand(); | 13 moveSelectionBackwardByCharacterCommand(); |
14 } | 14 } |
15 } | 15 } |
16 | 16 |
17 </script> | 17 </script> |
18 | 18 |
19 <title>Editing Test</title> | 19 <title>Editing Test</title> |
20 </head> | 20 </head> |
21 <body> | 21 <body> |
22 <p>This tests caret movement through an inline table. There should be visual po
sitions before and after the inline table, as if it were an image. The caret sh
ouldn't skip across the table, but should enter it (unless we later decide that
we don't want this behavior).</p> | 22 <p>This tests caret movement through an inline table. There should be visual po
sitions before and after the inline table, as if it were an image. The caret sh
ouldn'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"> | 23 <div contenteditable id="root" class="editing"> |
24 <div id="test"> | 24 <div id="test"> |
25 Inline Table:<TABLE border="1" style="display: inline"> | 25 Inline Table:<TABLE border="1" style="display: inline-table"> |
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... | 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> | 27 </div> |
28 </div> | 28 </div> |
29 <script> | 29 <script> |
30 runEditingTest(); | 30 runEditingTest(); |
31 </script> | 31 </script> |
32 | 32 |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |