summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/HTMLLegendElement.bnd14
-rw-r--r--javascript/duktape/netsurf.bnd7
2 files changed, 18 insertions, 3 deletions
diff --git a/javascript/duktape/HTMLLegendElement.bnd b/javascript/duktape/HTMLLegendElement.bnd
new file mode 100644
index 000000000..1bb95a94a
--- /dev/null
+++ b/javascript/duktape/HTMLLegendElement.bnd
@@ -0,0 +1,14 @@
+/* HTML legend element binding using duktape and libdom
+ *
+ * Copyright 2015 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * Released under the terms of the MIT License,
+ * http://www.opensource.org/licenses/mit-license
+ */
+
+init HTMLLegendElement(struct dom_html_element *html_legend_element::html_element);
+
+getter HTMLLegendElement::align();
+setter HTMLLegendElement::align();
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index 0e467ee0d..1d24ac5e0 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -62,6 +62,9 @@ struct dom_html_br_element;
#include "Location.bnd"
#include "Navigator.bnd"
+#include "HTMLElement.bnd"
+
+/* specialisations of html_element */
#include "HTMLAnchorElement.bnd"
#include "HTMLAppletElement.bnd"
#include "HTMLAreaElement.bnd"
@@ -69,7 +72,6 @@ struct dom_html_br_element;
#include "HTMLBodyElement.bnd"
#include "HTMLButtonElement.bnd"
#include "HTMLBRElement.bnd"
-#include "HTMLElement.bnd"
#include "HTMLFontElement.bnd"
#include "HTMLFormElement.bnd"
#include "HTMLFrameElement.bnd"
@@ -81,8 +83,8 @@ struct dom_html_br_element;
#include "HTMLImageElement.bnd"
#include "HTMLInputElement.bnd"
#include "HTMLLabelElement.bnd"
+#include "HTMLLegendElement.bnd"
-/* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
init HTMLMarqueeElement(struct dom_html_element *html_marquee_element::html_element);
@@ -93,7 +95,6 @@ init HTMLDialogElement(struct dom_html_element *html_dialog_element::html_elemen
init HTMLMenuItemElement(struct dom_html_element *html_menu_item_element::html_element);
init HTMLMenuElement(struct dom_html_element *html_menu_element::html_element);
init HTMLDetailsElement(struct dom_html_element *html_details_element::html_element);
-init HTMLLegendElement(struct dom_html_element *html_legend_element::html_element);
init HTMLFieldSetElement(struct dom_html_element *html_field_set_element::html_element);
init HTMLMeterElement(struct dom_html_element *html_meter_element::html_element);
init HTMLProgressElement(struct dom_html_element *html_progress_element::html_element);