blob: 73bccd91e0e178a905025d02020375f0cf48a3d0 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<body onload="go()">
Test InsertLineBreak is called correctly without any exception.
<script>
function go() {
document.designMode="on";
document.write("</");
document.getSelection().addRange(document.createRange());
document.execCommand("InsertLineBreak");
var result = "PASS";
if (window.layoutTestController) {
document.write("<html>" + result + "<html>");
layoutTestController.dumpAsText();
} else
document.write("<html>" + result + "<html>");
}
</script>
</body>
</html>