add automaticaly generated property setter and getters to HTMLStyleElement

This commit is contained in:
Vincent Sanders 2015-10-14 14:17:30 +01:00
parent d676b64bec
commit 3bcc9922ee
3 changed files with 18 additions and 5 deletions

View File

@ -1269,14 +1269,10 @@ getter HTMLSourceElement::src(string);\n
setter HTMLSourceElement::src(string);\n
getter HTMLSourceElement::type(string);\n
setter HTMLSourceElement::type(string);\n
getter HTMLStyleElement::media(string);\n
setter HTMLStyleElement::media(string);\n
getter HTMLStyleElement::nonce(string);\n
setter HTMLStyleElement::nonce(string);\n
getter HTMLStyleElement::scoped(boolean);\n
setter HTMLStyleElement::scoped(boolean);\n
getter HTMLStyleElement::type(string);\n
setter HTMLStyleElement::type(string);\n
getter HTMLTableCaptionElement::align(string);\n
setter HTMLTableCaptionElement::align(string);\n
getter HTMLTableCellElement::align(string);\n

View File

@ -0,0 +1,17 @@
/* HTML style 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 HTMLStyleElement(struct dom_html_element *html_style_element::html_element);
getter HTMLStyleElement::media();
setter HTMLStyleElement::media();
getter HTMLStyleElement::type();
setter HTMLStyleElement::type();

View File

@ -97,6 +97,7 @@ struct dom_html_br_element;
#include "HTMLQuoteElement.bnd"
#include "HTMLScriptElement.bnd"
#include "HTMLSelectElement.bnd"
#include "HTMLStyleElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@ -133,7 +134,6 @@ 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 HTMLOListElement(struct dom_html_element *html_o_list_element::html_element);
init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
init HTMLStyleElement(struct dom_html_element *html_style_element::html_element);
init HTMLTitleElement(struct dom_html_element *html_title_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);