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