blob: 753a20f3cfaa3de11759e542370233da00a01ee6 [file] [log] [blame]
<!doctype html>
<style>
.box {
height: 100px;
-webkit-user-modify: read-only;
}
</style>
<script>
</script>
Test passes if it does not CRASH.
<div class="box">
<script>
if (window.testRunner) {
window.testRunner.dumpAsText();
window.testRunner.waitUntilDone();
}
document.designMode = 'on';
document.execCommand("selectAll");
document.execCommand("selectAll");
document.execCommand("formatblock", false, "h1");
document.execCommand("InsertHTML", false, "<blockquote type='cite'>xxxx xxxxxx xxx xx blockquoted.</blockquote>");
document.execCommand("InsertText", false, "xxxxxxxxxxxxxxxxxxx");
document.execCommand("FindString", true, "d");
document.execCommand("selectAll");
document.execCommand("forwardDelete");
window.requestAnimationFrame(function() {
window.testRunner.notifyDone();
});
</script>