Add automaticaly generated property setter and getters to HTMLBodyElement

This commit is contained in:
Vincent Sanders 2015-10-10 11:08:48 +01:00
parent 9f925da516
commit 0636ee0f20
4 changed files with 44 additions and 20 deletions

View File

@ -606,14 +606,6 @@ getter HTMLAreaElement::type(string);\n
setter HTMLAreaElement::type(string);\n
getter HTMLAreaElement::username(user);\n
setter HTMLAreaElement::username(user);\n
getter HTMLBodyElement::aLink(string);\n
setter HTMLBodyElement::aLink(string);\n
getter HTMLBodyElement::background(string);\n
setter HTMLBodyElement::background(string);\n
getter HTMLBodyElement::bgColor(string);\n
setter HTMLBodyElement::bgColor(string);\n
getter HTMLBodyElement::link(string);\n
setter HTMLBodyElement::link(string);\n
getter HTMLBodyElement::onafterprint(user);\n
setter HTMLBodyElement::onafterprint(user);\n
getter HTMLBodyElement::onbeforeprint(user);\n
@ -640,15 +632,9 @@ getter HTMLBodyElement::onstorage(user);\n
setter HTMLBodyElement::onstorage(user);\n
getter HTMLBodyElement::onunload(user);\n
setter HTMLBodyElement::onunload(user);\n
getter HTMLBodyElement::text(string);\n
setter HTMLBodyElement::text(string);\n
getter HTMLBodyElement::vLink(string);\n
setter HTMLBodyElement::vLink(string);\n
getter HTMLButtonElement::autofocus(boolean);\n
setter HTMLButtonElement::autofocus(boolean);\n
method HTMLButtonElement::checkValidity();\n
getter HTMLButtonElement::disabled(boolean);\n
setter HTMLButtonElement::disabled(boolean);\n
getter HTMLButtonElement::formAction(string);\n
setter HTMLButtonElement::formAction(string);\n
getter HTMLButtonElement::formEnctype(string);\n
@ -663,16 +649,12 @@ getter HTMLButtonElement::form(user);\n
getter HTMLButtonElement::labels(user);\n
getter HTMLButtonElement::menu(user);\n
setter HTMLButtonElement::menu(user);\n
getter HTMLButtonElement::name(string);\n
setter HTMLButtonElement::name(string);\n
method HTMLButtonElement::reportValidity();\n
method HTMLButtonElement::setCustomValidity();\n
getter HTMLButtonElement::type(string);\n
setter HTMLButtonElement::type(string);\n
getter HTMLButtonElement::validationMessage(string);\n
getter HTMLButtonElement::validity(user);\n
getter HTMLButtonElement::value(string);\n
setter HTMLButtonElement::value(string);\n
getter HTMLButtonElement::willValidate(boolean);\n
method HTMLCanvasElement::getContext();\n
getter HTMLCanvasElement::height(long);\n

View File

@ -0,0 +1,24 @@
/* HTML body 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 HTMLBodyElement(struct dom_html_element *html_body_element::html_element);
getter HTMLBodyElement::aLink();
setter HTMLBodyElement::aLink();
getter HTMLBodyElement::background();
setter HTMLBodyElement::background();
getter HTMLBodyElement::bgColor();
setter HTMLBodyElement::bgColor();
getter HTMLBodyElement::link();
setter HTMLBodyElement::link();
getter HTMLBodyElement::text();
setter HTMLBodyElement::text();
getter HTMLBodyElement::vLink();
setter HTMLBodyElement::vLink();

View File

@ -0,0 +1,18 @@
/* HTML button 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 HTMLButtonElement(struct dom_html_element *html_button_element::html_element);
getter HTMLButtonElement::disabled();
setter HTMLButtonElement::disabled();
getter HTMLButtonElement::name();
setter HTMLButtonElement::name();
getter HTMLButtonElement::value();
setter HTMLButtonElement::value();

View File

@ -66,6 +66,8 @@ struct dom_html_br_element;
#include "HTMLAppletElement.bnd"
#include "HTMLAreaElement.bnd"
#include "HTMLBaseElement.bnd"
#include "HTMLBodyElement.bnd"
#include "HTMLButtonElement.bnd"
#include "HTMLBRElement.bnd"
#include "HTMLHRElement.bnd"
@ -94,7 +96,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 HTMLButtonElement(struct dom_html_element *html_button_element::html_element);
init HTMLInputElement(struct dom_html_element *html_input_element::html_element);
init HTMLLabelElement(struct dom_html_element *html_label_element::html_element);
init HTMLFormElement(struct dom_html_element *html_form_element::html_element);
@ -127,7 +128,6 @@ init HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element)
init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
init HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element);
init HTMLHeadingElement(struct dom_html_element *html_heading_element::html_element);
init HTMLBodyElement(struct dom_html_element *html_body_element::html_element);
init HTMLStyleElement(struct dom_html_element *html_style_element::html_element);
init HTMLMetaElement(struct dom_html_element *html_meta_element::html_element);
init HTMLLinkElement(struct dom_html_element *html_link_element::html_element);