mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:55:07 +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;
|
|
|
|
}
|