blob: 69e29000b6c17b8d0546af9aae55eb0927723010 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function run() {
var iframe = document.createElement('iframe');
iframe.setAttribute("onload", "iframeLoad()");
select.appendChild(iframe);
document.execCommand("indent", false);
document.body.innerText = "Tests asynchronous indenting and list insertion commands. The test passes if WebKit doesn't crash or hit an ssertion.";
if (window.testRunner)
testRunner.notifyDone();
}
function iframeLoad() {
document.execCommand("insertUnorderedList", false);
window.getSelection().collapse(select);
}
</script>
<body onload=run() contentEditable=true><details id=details open="true"><div>a</div><form hidden="hidden"><select id=select></select></form>b</details>