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:
parent
9100a1fde9
commit
b126ead34e
2 changed files with 10 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue