aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorYoungsoo Son <ysoo.son@samsung.com>2013-08-09 14:57:09 +0900
committerJosh Matthews <josh@joshmatthews.net>2013-08-09 15:26:21 -0400
commitfa7f367d22b027d9f98d760260dc9ca931c45d55 (patch)
tree8a35a8f9107fe01e480f4257ad5651a039f79b74 /src/components/script/dom/bindings/codegen
parent490e81f75c39479749934cc3aab91862394f8f1d (diff)
downloadservo-fa7f367d22b027d9f98d760260dc9ca931c45d55.tar.gz
servo-fa7f367d22b027d9f98d760260dc9ca931c45d55.zip
Generate bindings for HTMLUListElement
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/HTMLUListElement.webidl25
3 files changed, 27 insertions, 0 deletions
diff --git a/src/components/script/dom/bindings/codegen/Bindings.conf b/src/components/script/dom/bindings/codegen/Bindings.conf
index 62766045344..10a8a0ebf84 100644
--- a/src/components/script/dom/bindings/codegen/Bindings.conf
+++ b/src/components/script/dom/bindings/codegen/Bindings.conf
@@ -565,6 +565,7 @@ addHTMLElement('HTMLTableElement')
addHTMLElement('HTMLTableRowElement')
addHTMLElement('HTMLTableSectionElement')
addHTMLElement('HTMLTextAreaElement')
+addHTMLElement('HTMLUListElement')
# If you add one of these, you need to make sure nsDOMQS.h has the relevant
# macros added for it
diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py
index 0622c0ec415..58e78fd3800 100644
--- a/src/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/src/components/script/dom/bindings/codegen/CodegenRust.py
@@ -4633,6 +4633,7 @@ class CGBindingRoot(CGThing):
'dom::htmltablerowelement::HTMLTableRowElement',
'dom::htmltablesectionelement::HTMLTableSectionElement',
'dom::htmltextareaelement::HTMLTextAreaElement',
+ 'dom::htmlulistelement::HTMLUListElement',
'dom::bindings::utils::*',
'dom::bindings::conversions::*',
'dom::blob::*', #XXXjdm
diff --git a/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl b/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl
new file mode 100644
index 00000000000..ce831490838
--- /dev/null
+++ b/src/components/script/dom/bindings/codegen/HTMLUListElement.webidl
@@ -0,0 +1,25 @@
+/* -*- 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-ul-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-ul-element
+interface HTMLUListElement : HTMLElement {
+};
+
+// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
+partial interface HTMLUListElement {
+ [SetterThrows]
+ attribute boolean compact;
+ [SetterThrows]
+ attribute DOMString type;
+};