mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
Ladybird: Add the node properties tabs to the inspector
This now allows you to view the computed and resolved style values, along with the CSS variables of a node.
This commit is contained in:
parent
aa85a88158
commit
33249c727a
5 changed files with 103 additions and 19 deletions
|
@ -23,6 +23,8 @@
|
|||
#include <QAbstractScrollArea>
|
||||
#include <QPointer>
|
||||
|
||||
#include "DOMNodeProperties.h"
|
||||
|
||||
class QTextEdit;
|
||||
class QLineEdit;
|
||||
|
||||
|
@ -189,9 +191,9 @@ private:
|
|||
|
||||
bool is_inspector_open() const;
|
||||
void inspect_dom_tree();
|
||||
void inspect_dom_node(i32 node_id, Optional<Web::CSS::Selector::PseudoElement> pseudo_element);
|
||||
void clear_inspected_dom_node();
|
||||
void clear_inspector_callbacks();
|
||||
ErrorOr<Ladybird::DOMNodeProperties> inspect_dom_node(i32 node_id, Optional<Web::CSS::Selector::PseudoElement> pseudo_element);
|
||||
|
||||
qreal m_inverse_pixel_scaling_ratio { 1.0 };
|
||||
bool m_should_show_line_box_borders { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue