diff options
Diffstat (limited to 'Libraries/LibWeb/Layout/Node.h')
-rw-r--r-- | Libraries/LibWeb/Layout/Node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Layout/Node.h b/Libraries/LibWeb/Layout/Node.h index c0244d2316..90121e7621 100644 --- a/Libraries/LibWeb/Layout/Node.h +++ b/Libraries/LibWeb/Layout/Node.h @@ -91,6 +91,8 @@ public: const InitialContainingBlockBox& root() const; InitialContainingBlockBox& root(); + bool is_root_element() const; + virtual const char* class_name() const = 0; virtual bool is_initial_containing_block() const { return false; } virtual bool is_text() const { return false; } |