<!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> |