1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:37:45 +00:00

LibWeb: Include class names in layout tree dumps

This makes it a lot easier to see which layout node is which DOM node.
This commit is contained in:
Andreas Kling 2020-06-12 13:23:07 +02:00
parent 6f1b5fc0ab
commit ff2c949d70
2 changed files with 9 additions and 3 deletions

View file

@ -61,6 +61,7 @@ public:
}
bool has_class(const FlyString&) const;
const Vector<FlyString>& class_names() const { return m_classes; }
virtual void apply_presentational_hints(StyleProperties&) const { }
virtual void parse_attribute(const FlyString& name, const String& value);