summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/Document.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/Document.idl')
-rw-r--r--Libraries/LibWeb/DOM/Document.idl7
1 files changed, 6 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/Document.idl b/Libraries/LibWeb/DOM/Document.idl
index f2cbf8eafa..48c2fd6765 100644
--- a/Libraries/LibWeb/DOM/Document.idl
+++ b/Libraries/LibWeb/DOM/Document.idl
@@ -4,12 +4,17 @@ interface Document : Node {
Element? querySelector(DOMString selectors);
ArrayFromVector getElementsByTagName(DOMString tagName);
ArrayFromVector querySelectorAll(DOMString selectors);
+
Element createElement(DOMString tagName);
+ DocumentFragment createDocumentFragment();
+ Text createTextNode(DOMString data);
+ Comment createComment(DOMString data);
readonly attribute DOMString compatMode;
readonly attribute DocumentType? doctype;
readonly attribute Element? documentElement;
- readonly attribute HTMLElement? body;
+ attribute HTMLElement? body;
+ readonly attribute HTMLHeadElement? head;
}