1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:25:07 +00:00
serenity/Libraries/LibWeb/DOM/Document.idl
Luke 19d6884529 LibWeb: Implement quirks mode detection
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.
2020-07-21 01:08:32 +02:00

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;
}