ladybird/Tests/LibWeb/Text/input/append-child-must-update-layout-tree.html

8 lines
276 B
HTML

<script src="include.js"></script>
<script>
test(() => {
println("Hello");
document.body.offsetWidth // Force a layout
println("friends"); // This will append a text child to the output element, and should update the layout tree.
});
</script>