summaryrefslogtreecommitdiff
path: root/LibHTML/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibHTML/test.cpp')
-rw-r--r--LibHTML/test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/LibHTML/test.cpp b/LibHTML/test.cpp
index 51a86bdd26..db55d2f196 100644
--- a/LibHTML/test.cpp
+++ b/LibHTML/test.cpp
@@ -17,12 +17,15 @@ int main(int argc, char** argv)
doc->build_layout_tree();
ASSERT(doc->layout_node());
+
+ printf("\033[33;1mLayout tree before layout:\033[0m\n");
dump_tree(*doc->layout_node());
auto frame = make<Frame>();
frame->set_document(doc);
frame->layout();
+ printf("\033[33;1mLayout tree after layout:\033[0m\n");
dump_tree(*doc->layout_node());
return 0;
}