mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +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:
parent
319ef8aa86
commit
faff557400
4 changed files with 5 additions and 2 deletions
|
@ -5,4 +5,6 @@ interface Document : Node {
|
|||
ArrayFromVector querySelectorAll(DOMString selectors);
|
||||
Element createElement(DOMString tagName);
|
||||
|
||||
readonly attribute HTMLElement? body;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue