4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div id=
"div" contenteditable=
"true"><input type=
"text"><input type=
"text"></div>
7 Markup
.description("This tests for a bug where InsertLineBreak would insert a '\\n' instead of a <br> if the caret was set just before an input field. There should be a br element between two input elements.");
8 div
= document
.getElementById("div");
9 window
.getSelection().collapse(div
, 1);
10 document
.execCommand("InsertLineBreak");