add automaticaly generated property setter and getters to HTMLPreElement

This commit is contained in:
Vincent Sanders 2015-10-25 19:12:12 +00:00
parent 3a67d34f69
commit d7924a5849
3 changed files with 16 additions and 3 deletions

View File

@ -1197,8 +1197,6 @@ getter HTMLOutputElement::validity(user);\n
getter HTMLOutputElement::value(string);\n
setter HTMLOutputElement::value(string);\n
getter HTMLOutputElement::willValidate(boolean);\n
getter HTMLPreElement::width(long);\n
setter HTMLPreElement::width(long);\n
getter HTMLProgressElement::labels(user);\n
getter HTMLProgressElement::max(double);\n
setter HTMLProgressElement::max(double);\n

View File

@ -0,0 +1,15 @@
/* HTML li 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 HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
getter HTMLPreElement::width();
setter HTMLPreElement::width();

View File

@ -95,6 +95,7 @@ struct dom_html_br_element;
#include "HTMLOListElement.bnd"
#include "HTMLParagraphElement.bnd"
#include "HTMLParamElement.bnd"
#include "HTMLPreElement.bnd"
#include "HTMLQuoteElement.bnd"
#include "HTMLScriptElement.bnd"
#include "HTMLSelectElement.bnd"
@ -134,7 +135,6 @@ init HTMLDataElement(struct dom_html_element *html_data_element::html_element);
init HTMLDivElement(struct dom_html_element *html_div_element::html_element);
init HTMLDListElement(struct dom_html_element *html_d_list_element::html_element);
init HTMLUListElement(struct dom_html_element *html_u_list_element::html_element);
init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);
/* specialisations of HTMLTableCellElement */