blob: 06a434d40913c3e01dbd7dc1afcbbec51f8e1407 [file] [log] [blame]
<!doctype HTML>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
// This tests for a bug where deleting the contents of an editable root that's
// inline would introduce a new line.
selection_test(
'<div><span contenteditable>x|</span></div>',
'Delete',
'<div><span contenteditable>|</span></div>',
'Deleting contents of root editable');
</script>