blob: f917d4de416aa4a82d4faa05c8b1acbb5292e7f4 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<p>This tests moving the caret forward through content of mixed editability. The caret should move down one line from the editable piece to the editable piece that's embedded in a non-editable piece.</p>
<div contenteditable="true">
editable
<table border="1" contenteditable="false"><tr><td contenteditable="true" id="test">editable</td></tr></table>
editable
</div>
<script>
var e = document.getElementById("test");
var s = window.getSelection();
s.setPosition(e, 0);
s.modify("move", "forward", "documentBoundary");
</script>