Index: sky/engine/core/dom/Document.idl |
diff --git a/sky/engine/core/dom/Document.idl b/sky/engine/core/dom/Document.idl |
index 957b764cdbd8b0fc9dba7205ddf197ec7be61abd..50ee8bbd56895a7a37c78be851faeb9831f0ba97 100644 |
--- a/sky/engine/core/dom/Document.idl |
+++ b/sky/engine/core/dom/Document.idl |
@@ -22,9 +22,10 @@ callback CustomElementConstructor = Element (); |
[ |
Constructor(), |
- ConstructorCallWith=Document, |
] interface Document : ParentNode { |
[CustomElementCallbacks, RaisesException] Element createElement(DOMString tagName); |
+ Text createText(DOMString text); |
+ |
DocumentFragment createDocumentFragment(); |
[CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node importNode(Node node, [Named] optional boolean deep = false); |