blob: c9c4257d65f820110b160260c03774f09f4479ab [file] [log] [blame]
<!DOCTYPE html>
<head>
<style>
.classUl {
column-count: 2;
}
ul::first-letter {
column-count: 2;
float: left;
}
</style>
</head>
<body>
<menu>Pass if no crash</menu>
<ul id=foobar class=classUl>f
<table id=table></table>
</ul>
<script>
document.body.offsetWidth;
let selection = document.getSelection();
selection.setPosition(foobar);
selection.focusNode.className = "foo";
table.align = "right";
document.execCommand("selectAll", false);
window.getSelection().deleteFromDocument();
if (window.testRunner)
testRunner.dumpAsText();
</script>
</body>
</html>