<div>
<p>
Intentionally not in WPT as triple click is not guaranteed to have same
behavior on every browser.
</p>
<span contenteditable></span><hr>
<div contenteditable style="display: inline;"></div><hr>
<div contenteditable style="display: inline-block;"></div><hr> <!-- FIXME:https://bugzilla.mozilla.org/show_bug.cgi?id=1654364 <tablecontenteditablestyle="display:inline-table;"><tr><td></table><hr>
-->
<div contenteditable style="display: inline-flex;"></div><hr>
<div contenteditable style="display: inline-grid;"></div>
</div>
<script>
function selectHostByClicks(host, number) {
for (let i = 1; i <= number; i++) {
synthesizeMouseAtCenter(host, { clickCount: i });
}
}
is(selection.isCollapsed, false, "Noncollapsed selection should occur");
synthesizeKey("KEY_Backspace");
is(
host.textContent, "",
`Backspace should delete the content of the editing host (<div contenteditable style="${
host.getAttribute("style")
}">)`);
}
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 und die Messung sind noch experimentell.