Newer
Older
minerva / Tests / LibWeb / Text / input / html-parser-text-in-table-hoisting.html
@minerva minerva on 13 Jul 371 bytes Initial commit
<script src="include.js"></script>
<body><table><tr>PASS</tr></table></body>
<script>
    test(() => {
        // Remove the table. "PASS" should still be visible,
        // as the HTML parser inserts it *before* the table
        // under these circumstances.
        document.querySelector("table").remove()
        println(document.body.innerText);
    });
</script>