<script class="testbody" type="application/javascript">
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(() => {
function ensureNoPaddingBR() {
for (let br of document.querySelectorAll("#editor > div > br")) {
ok(!SpecialPowers.wrap(br).isPaddingForEmptyLastLine, "padding element shouldn't be used with this test");
}
}
document.execCommand("defaultparagraphseparator", false, "div"); var editor = document.getElementById("editor");
// Click the left blank area of the first line to set cursor to the start of "contents".
synthesizeMouse(editor, 3, 10, {});
synthesizeKey("KEY_Enter");
is(editor.innerHTML, "
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.