| OLD | NEW |
| (Empty) |
| 1 <p id="description">When a user puts the caret at the very beginning of a blockq
uote and hits backspace, if the line before the blockquote is empty, the blockqu
ote should just move up.</p> | |
| 2 <div contenteditable="true"><div><br></div><blockquote style="margin: 0px; paddi
ng-left: 25px; border-left: 3px solid blue; color: blue;" type="cite"><span id="
test">foo</span></blockquote></div> | |
| 3 <script src="../../resources/dump-as-markup.js"></script> | |
| 4 <script> | |
| 5 if (window.testRunner) | |
| 6 testRunner.dumpEditingCallbacks(); | |
| 7 | |
| 8 var e = document.getElementById("test"); | |
| 9 window.getSelection().collapse(e, 0); | |
| 10 | |
| 11 document.execCommand("Delete"); | |
| 12 Markup.description(document.getElementById('description').textContent); | |
| 13 Markup.dump(document.querySelector('div')); | |
| 14 </script> | |
| OLD | NEW |