1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibWeb: Demangle the names returned by Layout::Node::class_name()

Note that these are only used in debugging/test output so it's not
performance sensitive.
This commit is contained in:
Andreas Kling 2021-01-01 16:42:44 +01:00
parent 730af2c524
commit fc86717f43
3 changed files with 10 additions and 5 deletions

View file

@ -93,7 +93,8 @@ public:
bool is_root_element() const;
const char* class_name() const;
String class_name() const;
virtual bool is_initial_containing_block() const { return false; }
virtual bool is_text() const { return false; }
virtual bool is_block() const { return false; }