blob: 208f367f4c1f85465d7b311ff0dcb7207129374e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/dump-as-markup.js"></script>
<script>
addEventListener("DOMContentLoaded", () => {
document.designMode = "on";
const container = document.querySelector(".container");
getSelection().setPosition(container.childNodes[0], 6);
document.execCommand("InsertParagraph");
document.querySelectorAll("script").forEach(script => script.remove());
Markup.description("Verifies that after inserting a newline after a period doesn't insert an extra space in front of the newly inserted line.");
Markup.dump("document.body");
});
</script>
</head>
<body>
<div class="container">Hello.This is a test.</div>
</body>
</html>