4 <div id="div" contenteditable="true"><div>This should not be underlined.</div><span style="text-decoration: underline; color: blue;"><span style="color:red;">This should be underlined.</span></span></div>
5 <script src="../../resources/dump-as-markup.js"></script>
7 Markup.description("This test for a bug moving a paragraph of underlined text. The text should look the same before and after the deletion.");
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
12 Markup.dump('div', 'Before');
15 sel.modify("move", "forward", "paragraphBoundary");
16 sel.modify("move", "forward", "character");
17 document.execCommand("Delete");
19 Markup.dump('div', 'After');