summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/core/nsIDOMDocumentType.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/core/nsIDOMDocumentType.idl')
-rw-r--r--dom/interfaces/core/nsIDOMDocumentType.idl28
1 files changed, 28 insertions, 0 deletions
diff --git a/dom/interfaces/core/nsIDOMDocumentType.idl b/dom/interfaces/core/nsIDOMDocumentType.idl
new file mode 100644
index 000000000..0ce6fc4c8
--- /dev/null
+++ b/dom/interfaces/core/nsIDOMDocumentType.idl
@@ -0,0 +1,28 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include "nsIDOMNode.idl"
+
+/**
+ * Each Document has a doctype attribute whose value is either null
+ * or a DocumentType object.
+ * The nsIDOMDocumentType interface in the DOM Core provides an
+ * interface to the list of entities that are defined for the document.
+ *
+ * For more information on this interface please see
+ * http://www.w3.org/TR/DOM-Level-2-Core/
+ */
+
+[uuid(cd7467b9-0f26-4787-a359-66e80ba8db92)]
+interface nsIDOMDocumentType : nsIDOMNode
+{
+ readonly attribute DOMString name;
+ readonly attribute DOMString publicId;
+ readonly attribute DOMString systemId;
+ readonly attribute DOMString internalSubset;
+
+ [binaryname(MozRemove)]
+ void remove();
+};