mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
This allows us to determine which mode to render the page in. Exposes "doctype" and "compatMode" on Document. Exposes "name", "publicId" and "systemId" on DocumentType.
14 lines
425 B
Text
14 lines
425 B
Text
interface Document : Node {
|
|
|
|
Element? getElementById(DOMString id);
|
|
Element? querySelector(DOMString selectors);
|
|
ArrayFromVector getElementsByTagName(DOMString tagName);
|
|
ArrayFromVector querySelectorAll(DOMString selectors);
|
|
Element createElement(DOMString tagName);
|
|
|
|
readonly attribute DOMString compatMode;
|
|
readonly attribute DocumentType? doctype;
|
|
|
|
readonly attribute HTMLElement? body;
|
|
|
|
}
|