4 div { border:1px solid red; }
5 blockquote { border:1px solid blue; }
10 window.testRunner.dumpAsText();
12 var blankLine = document.getElementById('blankLine');
13 var s = window.getSelection();
14 s.collapse(blankLine, 0);
15 document.execCommand("InsertNewlineInQuotedContent");
17 if (blankLine.nextSibling.nodeName == "BR")
18 console.log("SUCCESS! newline inserted AFTER quoted content");
20 console.log("FAILED! newline inserted BEFORE quoted content");
24 <body onload="runTest()">
26 <div contentEditable="true">
27 <blockquote type="cite">Line of text</blockquote>
28 <blockquote type="cite" id="blankLine"><br></blockquote>