mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
Browser: Add Debug menu action for dumping the stacking context tree
This commit is contained in:
parent
e2c71b6725
commit
270aa9e5d0
2 changed files with 14 additions and 0 deletions
|
@ -288,6 +288,11 @@ void BrowserWindow::build_menus()
|
|||
active_tab().m_web_content_view->debug_request("dump-layout-tree");
|
||||
},
|
||||
this));
|
||||
debug_menu.add_action(GUI::Action::create(
|
||||
"Dump &Stacking Context Tree", [this](auto&) {
|
||||
active_tab().m_web_content_view->debug_request("dump-stacking-context-tree");
|
||||
},
|
||||
this));
|
||||
debug_menu.add_action(GUI::Action::create(
|
||||
"Dump &Style Sheets", [this](auto&) {
|
||||
active_tab().m_web_content_view->debug_request("dump-style-sheets");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue