blob: 1a5c3a109cb128882172c5c605ecda4cc53564e7 [file] [log] [blame]
<div id="description">This tests to see if deleting an input element that starts at the start of a block adds an extra placeholder.
You should see a single placeholder in the block below.</div>
<div id="edit" contentEditable="true"><input type="text"><br></div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description(document.getElementById('description').textContent);
edit = document.getElementById("edit");
edit.focus();
document.execCommand("SelectAll");
document.execCommand("Delete");
Markup.dump('edit');
</script>