summaryrefslogtreecommitdiff
path: root/javascript/duktape
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/duktape')
-rw-r--r--javascript/duktape/HTMLLabelElement.bnd14
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 15 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLLabelElement.bnd b/javascript/duktape/HTMLLabelElement.bnd
new file mode 100644
index 000000000..018f798bd
--- /dev/null
+++ b/javascript/duktape/HTMLLabelElement.bnd
@@ -0,0 +1,14 @@
+/* HTML label 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 HTMLLabelElement(struct dom_html_element *html_label_element::html_element);
+
+getter HTMLLabelElement::htmlFor();
+setter HTMLLabelElement::htmlFor();
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index 67dd2ea70..0e467ee0d 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -80,6 +80,7 @@ struct dom_html_br_element;
#include "HTMLIFrameElement.bnd"
#include "HTMLImageElement.bnd"
#include "HTMLInputElement.bnd"
+#include "HTMLLabelElement.bnd"
/* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
@@ -103,7 +104,6 @@ init HTMLOptionElement(struct dom_html_element *html_option_element::html_elemen
init HTMLOptGroupElement(struct dom_html_element *html_opt_group_element::html_element);
init HTMLDataListElement(struct dom_html_element *html_data_list_element::html_element);
init HTMLSelectElement(struct dom_html_element *html_select_element::html_element);
-init HTMLLabelElement(struct dom_html_element *html_label_element::html_element);
init HTMLTableCellElement(struct dom_html_element *html_table_cell_element::html_element);
init HTMLTableRowElement(struct dom_html_element *html_table_row_element::html_element);
init HTMLTableSectionElement(struct dom_html_element *html_table_section_element::html_element);