mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibWeb: Add Layout::Node::debug_description()
This returns a String with this format: - LayoutNodeClassName<TAG_NAME>#id.class1.class2.class3 I've rewritten this function 10+ times at this point, so I'm just gonna add it to the repository for future debugging needs. :^)
This commit is contained in:
parent
cf5eeb9f4b
commit
c8051f8b5b
2 changed files with 20 additions and 0 deletions
|
@ -74,6 +74,7 @@ public:
|
|||
bool is_root_element() const;
|
||||
|
||||
String class_name() const;
|
||||
String debug_description() const;
|
||||
|
||||
bool has_style() const { return m_has_style; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue