blob: 81f57c0effb018bdd7c9272918b1c2a555ffb1ed [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
iframe.contentWindow.onpagehide = () => {
document.execCommand("indent", false);
document.execCommand("selectAll", false);
};
document.execCommand("selectAll", false);
document.execCommand("outdent", false);
}
</script>
</head>
<body onload="runTest()" contenteditable>
This tests that we do not crash while outdenting paragraphs.
PASS
<ol>
<li>
<iframe id="iframe"></iframe>
</li>
</ol>
</body>
</html>