mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
LibWeb: Add the Document.documentElement API
Also change DOM::Document::document_element() to return an Element* and not an HTML::HTMLHtmlElement since that's not the only kind of documentElement we might encounter.
This commit is contained in:
parent
64a82100bd
commit
e27726dc92
Notes:
sideshowbarker
2024-07-19 04:21:42 +09:00
Author: https://github.com/awesomekling
Commit: e27726dc92
4 changed files with 12 additions and 3 deletions
|
@ -9,6 +9,7 @@ interface Document : Node {
|
|||
readonly attribute DOMString compatMode;
|
||||
readonly attribute DocumentType? doctype;
|
||||
|
||||
readonly attribute Element? documentElement;
|
||||
readonly attribute HTMLElement? body;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue