1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

LibWeb: Expose Document.body to the web

Also, make it return a HTMLElement since Document.body should actually
return the frameset element in a frame-based document.
This commit is contained in:
Andreas Kling 2020-06-21 00:59:28 +02:00
parent 319ef8aa86
commit faff557400
4 changed files with 5 additions and 2 deletions

View file

@ -81,7 +81,7 @@ public:
const HTMLHtmlElement* document_element() const;
const HTMLHeadElement* head() const;
const HTMLBodyElement* body() const;
const HTMLElement* body() const;
String title() const;