1 <p>This test for a bug copy/pasting underlined text.</p>
2 <div id="copy" contenteditable="true">This should be underlined.</div>
3 <div id="paste" contenteditable="true"><br></div>
6 var copy = document.getElementById("copy");
8 document.execCommand("SelectAll");
9 document.execCommand("Underline");
10 document.execCommand("Copy");
11 var paste = document.getElementById("paste");
13 document.execCommand("Paste");