Files
ladybird/Libraries/LibWeb/DOM/Document.idl
Andreas Kling faff557400 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.
2020-06-21 01:00:30 +02:00

11 lines
272 B
Plaintext

interface Document : Node {
Element? getElementById(DOMString id);
Element? querySelector(DOMString selectors);
ArrayFromVector querySelectorAll(DOMString selectors);
Element createElement(DOMString tagName);
readonly attribute HTMLElement? body;
}