LibWeb: Support assigning to document.body when it is null

This commit is contained in:
Andreas Kling 2021-02-22 14:00:47 +01:00
commit b126ead34e
Notes: sideshowbarker 2024-07-18 22:00:44 +09:00
2 changed files with 10 additions and 5 deletions

View file

@ -102,7 +102,9 @@ public:
Node* inspected_node() { return m_inspected_node; }
const Node* inspected_node() const { return m_inspected_node; }
Element* document_element();
const Element* document_element() const;
const HTML::HTMLHtmlElement* html_element() const;
const HTML::HTMLHeadElement* head() const;
const HTML::HTMLElement* body() const;