blob: 1cdfb0f444004fce8960be1f0e0a0e4cac4d0546 [file] [log] [blame]
<!DOCTYPE html>
<body onload="crash();" contenteditable>
<strike style='display: flex;'>foo<select id="target">bar
<script>
function crash() {
if (window.testRunner)
testRunner.dumpAsText();
document.designMode = "on";
r = document.createRange();
r.selectNode(target);
window.getSelection().addRange(r);
document.execCommand("FormatBlock", false, "address")
document.write("Test passes if no crash.")
}
</script>