aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorsaneyuki_s <saneyuki.s.snyk@gmail.com>2013-08-08 01:48:39 +0900
committerJosh Matthews <josh@joshmatthews.net>2013-08-08 11:15:42 -0400
commitfba2cea0978f87b57fcae046a0c3569e344dda76 (patch)
tree19e53e72cf31890dfac17df50b697b87b2bce3b5 /src/components/script/dom/bindings/codegen
parentab2e5b854e805ddc6cbd341e8b4001dae5e4b1b5 (diff)
downloadservo-fba2cea0978f87b57fcae046a0c3569e344dda76.tar.gz
servo-fba2cea0978f87b57fcae046a0c3569e344dda76.zip
Generate bindings for HTMLMetaElement.
Diffstat (limited to 'src/components/script/dom/bindings/codegen')
-rw-r--r--src/components/script/dom/bindings/codegen/Bindings.conf1
-rw-r--r--src/components/script/dom/bindings/codegen/CodegenRust.py1
-rw-r--r--src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl28
3 files changed, 30 insertions, 0 deletions
diff --git a/src/components/script/dom/bindings/codegen/Bindings.conf b/src/components/script/dom/bindings/codegen/Bindings.conf
index 01c1ec88f42..99bd9372a47 100644
--- a/src/components/script/dom/bindings/codegen/Bindings.conf
+++ b/src/components/script/dom/bindings/codegen/Bindings.conf
@@ -554,6 +554,7 @@ addHTMLElement('HTMLHtmlElement')
addHTMLElement('HTMLHRElement')
addHTMLElement('HTMLIFrameElement')
addHTMLElement('HTMLImageElement')
+addHTMLElement('HTMLMetaElement')
addHTMLElement('HTMLOListElement')
addHTMLElement('HTMLParagraphElement')
addHTMLElement('HTMLScriptElement')
diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py
index 9a2fa981e60..42ce2648366 100644
--- a/src/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/src/components/script/dom/bindings/codegen/CodegenRust.py
@@ -4624,6 +4624,7 @@ class CGBindingRoot(CGThing):
'dom::htmlhrelement::HTMLHRElement',
'dom::htmliframeelement::HTMLIFrameElement', #XXXjdm
'dom::htmlimageelement::HTMLImageElement', #XXXjdm
+ 'dom::htmlmetaelement::HTMLMetaElement',
'dom::htmlolistelement::HTMLOListElement',
'dom::htmlscriptelement::HTMLScriptElement',
'dom::bindings::utils::*',
diff --git a/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl b/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl
new file mode 100644
index 00000000000..5b7b0f92c24
--- /dev/null
+++ b/src/components/script/dom/bindings/codegen/HTMLMetaElement.webidl
@@ -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/.
+ *
+ * The origin of this IDL file is
+ * http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
+ * http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+ * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
+ * Opera Software ASA. You are granted a license to use, reproduce
+ * and create derivative works of this document.
+ */
+
+// http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element
+interface HTMLMetaElement : HTMLElement {
+ [SetterThrows, Pure]
+ attribute DOMString name;
+ [SetterThrows, Pure]
+ attribute DOMString httpEquiv;
+ [SetterThrows, Pure]
+ attribute DOMString content;
+};
+
+// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+partial interface HTMLMetaElement {
+ [SetterThrows, Pure]
+ attribute DOMString scheme;
+};