diff --git a/Userland/Libraries/LibWeb/Layout/ListItemBox.h b/Userland/Libraries/LibWeb/Layout/ListItemBox.h index e72c53d3fa..2f31d5fa42 100644 --- a/Userland/Libraries/LibWeb/Layout/ListItemBox.h +++ b/Userland/Libraries/LibWeb/Layout/ListItemBox.h @@ -20,6 +20,9 @@ public: void layout_marker(); + DOM::Element& dom_node() { return static_cast(*BlockBox::dom_node()); } + DOM::Element const& dom_node() const { return static_cast(*BlockBox::dom_node()); } + private: RefPtr m_marker; };