diff options
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLLabelElement.bnd | 14 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 2 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index ac7124e81..3d87b2339 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1041,8 +1041,6 @@ getter HTMLKeygenElement::validity(user);\n getter HTMLKeygenElement::willValidate(boolean);\n getter HTMLLabelElement::control(user);\n getter HTMLLabelElement::form(user);\n -getter HTMLLabelElement::htmlFor(string);\n -setter HTMLLabelElement::htmlFor(string);\n getter HTMLLegendElement::align(string);\n setter HTMLLegendElement::align(string);\n getter HTMLLegendElement::form(user);\n 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); |