Files
ladybird/Tests/LibWeb/Text/input/Internals/dump-paintable-tree.html
Aliaksandr Kalenik 0bec9a1e5d LibWeb: Add dumpPaintableTree() to Internals API
Expose the paintable tree dump through the internals object, analogous
to the existing dumpLayoutTree(). This is useful for testing and
debugging painting behavior.
2026-02-15 17:47:30 +01:00

12 lines
286 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<div id="target" style="width: 100px; height: 50px;">
<span>Hello</span>
</div>
<script>
test(() => {
const el = document.getElementById("target");
println(internals.dumpPaintableTree(el));
});
</script>