blob: 86364f2984eedde80dc9bad58980801dd29d696b [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.onload = () => {
window.getSelection().setBaseAndExtent(TH,1,STYLE,1);
document.execCommand("insertUnorderedList", false);
requestAnimationFrame(function () {
document.body.innerHTML = "<p> Tests inserting list in table. The test passes if WebKit doesn't crash or hit an assertion.</p>";
if (window.testRunner)
testRunner.notifyDone();
});
}
</script>
<body contenteditable="true"><table><th id=TH>a</th><style id=STYLE></style></table></body>