1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibWeb+Browser: Add a barebones LayoutTreeModel to the inspector window

This allows you to inspect the layout tree, along side the DOM tree.
It will need more functionality to be truly useful, but it's a start.
This commit is contained in:
Andreas Kling 2020-06-12 22:30:11 +02:00
parent 68ae1de463
commit 6f19067c9a
5 changed files with 258 additions and 15 deletions

View file

@ -41,7 +41,10 @@ public:
private:
InspectorWidget();
void set_inspected_node(Web::Node*);
RefPtr<GUI::TreeView> m_dom_tree_view;
RefPtr<GUI::TreeView> m_layout_tree_view;
RefPtr<GUI::TableView> m_style_table_view;
RefPtr<GUI::TableView> m_computed_style_table_view;
RefPtr<Web::Document> m_document;