summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/html/nsIDOMHTMLSourceElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/html/nsIDOMHTMLSourceElement.idl')
-rw-r--r--dom/interfaces/html/nsIDOMHTMLSourceElement.idl27
1 files changed, 27 insertions, 0 deletions
diff --git a/dom/interfaces/html/nsIDOMHTMLSourceElement.idl b/dom/interfaces/html/nsIDOMHTMLSourceElement.idl
new file mode 100644
index 000000000..907e4b632
--- /dev/null
+++ b/dom/interfaces/html/nsIDOMHTMLSourceElement.idl
@@ -0,0 +1,27 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim:set ts=2 sw=2 sts=2 et cindent: */
+/* 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 "nsIDOMHTMLElement.idl"
+
+/**
+ * The nsIDOMHTMLSourceElement interface is the interface to a HTML
+ * <source> element.
+ *
+ * For more information on this interface, please see
+ * http://www.whatwg.org/specs/web-apps/current-work/#source
+ *
+ * @status UNDER_DEVELOPMENT
+ */
+
+[uuid(1deb68f8-2ed6-4a41-b8c8-e0f86510f799)]
+interface nsIDOMHTMLSourceElement : nsISupports
+{
+ attribute DOMString src;
+ attribute DOMString type;
+ attribute DOMString srcset;
+ attribute DOMString sizes;
+ attribute DOMString media;
+};