mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57: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:
parent
68ae1de463
commit
6f19067c9a
5 changed files with 258 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue