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