blob: edc082449ca63d3e1fd6226b608837f253ce21b8 [file] [log] [blame]
<html>
<head>
<script>
function runTest()
{
document.execCommand("selectAll", true);
document['designMode'] = 'on';
document.execCommand("insertHorizontalRule", true);
document.body.replaceWith(document.createElement('div'));
document.execCommand("insertHorizontalRule", true);
if (window.testRunner) {
testRunner.dumpAsText();
document.documentElement.textContent = 'PASS. WebKit did not crash.';
}
}
window.onload = runTest;
</script>
</head>
<body>
</body>
</html>