add automaticaly generated property setter and getters to HTMLLabelElement

This commit is contained in:
Vincent Sanders 2015-10-13 21:00:02 +01:00
parent 2f68549812
commit 444721354e
3 changed files with 15 additions and 3 deletions

View File

@ -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

View File

@ -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();

View File

@ -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);