blob: 67212d56c5412ad07b904557ef23f3eb6ef3c8eb [file] [log] [blame]
<html>
<head>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (var i = 0; i < 70; i++) {
moveSelectionForwardByCharacterCommand();
}
for (var i = 0; i < 70; i++) {
moveSelectionBackwardByCharacterCommand();
}
}
</script>
<title>Editing Test</title>
</head>
<body>
<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>
<div contenteditable id="root" class="editing">
<div id="test">
Inline Table:<TABLE border="1" style="display: inline">
<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...
</div>
</div>
<script>
runEditingTest();
</script>
</body>
</html>