summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/core/nsIDOMCDATASection.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/core/nsIDOMCDATASection.idl')
-rw-r--r--dom/interfaces/core/nsIDOMCDATASection.idl21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/interfaces/core/nsIDOMCDATASection.idl b/dom/interfaces/core/nsIDOMCDATASection.idl
new file mode 100644
index 000000000..c0595c58c
--- /dev/null
+++ b/dom/interfaces/core/nsIDOMCDATASection.idl
@@ -0,0 +1,21 @@
+/* -*- 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 "nsIDOMText.idl"
+
+/**
+ * CDATA sections are used to escape blocks of text containing characters
+ * that would otherwise be regarded as markup.
+ * Their primary purpose is for including material such as XML fragments,
+ * without needing to escape all the delimiters.
+ *
+ * For more information on this interface please see
+ * http://www.w3.org/TR/DOM-Level-2-Core/
+ */
+
+[uuid(e14ef131-34cc-40c8-9c99-a403c001184a)]
+interface nsIDOMCDATASection : nsIDOMText
+{
+};