blob: 81a92ab603f87952f8b271061e3f071de02fce1a [file] [log] [blame]
<style>
#last::before {
content: '.';
}
</style>
<script>
onload = () => {
if (window.testRunner)
testRunner.dumpAsText();
console.log("This test passes if it does not crash.")
getSelection().setBaseAndExtent(document.querySelector('img'), 1, document.querySelector('#last'), 0);
document.execCommand('InsertParagraph');
};
</script>
<body contenteditable style="display: table"><img style="content: ''"><div></div><div id="last"></div></body>