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

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
parent 9100a1fde9
commit b126ead34e
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;