forked from mirrors/gecko-dev
There are some paths which do not set `mAnchorFocusRange` correctly. Therefore, even if its `RangeCount()` returns 1 or larger, `GetAnchorFocusRange()` may return `nullptr`. Differential Revision: https://phabricator.services.mozilla.com/D171045
17 lines
337 B
HTML
17 lines
337 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script>
|
|
addEventListener("load", () => {
|
|
const dialog = document.querySelector("dialog");
|
|
dialog.showModal();
|
|
dialog.close();
|
|
document.execCommand("justifyLeft");
|
|
document.execCommand("delete");
|
|
});
|
|
</script>
|
|
</head>
|
|
<body><dialog contenteditable>
|
|
</dialog></body>
|
|
</html>
|