ladybird/Tests/LibWeb/Text/input/append-child-must-update-layout-tree.html
2025-03-20 11:50:49 +01:00

9 lines
292 B
HTML

<!DOCTYPE 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>