mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibHTML: Start fleshing out a basic layout tree.
This commit is contained in:
@@ -14,5 +14,9 @@ int main(int argc, char** argv)
|
||||
String html = String::copy(f.read_all());
|
||||
auto doc = parse(html);
|
||||
dump_tree(doc);
|
||||
|
||||
doc->build_layout_tree();
|
||||
ASSERT(doc->layout_node());
|
||||
dump_tree(*doc->layout_node());
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user