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

LibHTML: Add a convenient way to get from any layout node to the root

This commit is contained in:
Andreas Kling 2019-11-04 19:37:52 +01:00
parent 2946b0e2d4
commit 715d7a8532
4 changed files with 31 additions and 0 deletions

View file

@ -78,6 +78,7 @@ public:
virtual bool is_child_allowed(const Node&) const override;
const LayoutDocument* layout_node() const;
LayoutDocument* layout_node();
void schedule_style_update();