add automaticaly generated property setter and getters to HTMLElement

This commit is contained in:
Vincent Sanders 2015-10-12 09:10:03 +01:00
parent 9443f201fe
commit 0d4942d42c
3 changed files with 21 additions and 7 deletions

View File

@ -703,8 +703,6 @@ setter HTMLElement::contentEditable(string);\n
getter HTMLElement::contextMenu(user);\n
setter HTMLElement::contextMenu(user);\n
getter HTMLElement::dataset(user);\n
getter HTMLElement::dir(string);\n
setter HTMLElement::dir(string);\n
getter HTMLElement::draggable(boolean);\n
setter HTMLElement::draggable(boolean);\n
getter HTMLElement::dropzone(user);\n
@ -713,8 +711,6 @@ method HTMLElement::forceSpellCheck();\n
getter HTMLElement::hidden(boolean);\n
setter HTMLElement::hidden(boolean);\n
getter HTMLElement::isContentEditable(boolean);\n
getter HTMLElement::lang(string);\n
setter HTMLElement::lang(string);\n
getter HTMLElement::onabort(user);\n
setter HTMLElement::onabort(user);\n
getter HTMLElement::onautocompleteerror(user);\n
@ -845,8 +841,6 @@ getter HTMLElement::spellcheck(boolean);\n
setter HTMLElement::spellcheck(boolean);\n
getter HTMLElement::tabIndex(long);\n
setter HTMLElement::tabIndex(long);\n
getter HTMLElement::title(string);\n
setter HTMLElement::title(string);\n
getter HTMLElement::translate(boolean);\n
setter HTMLElement::translate(boolean);\n
getter HTMLEmbedElement::align(string);\n

View File

@ -0,0 +1,20 @@
/* HTML 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 HTMLHtmlElement(struct dom_html_element *html_html_element::html_element);
getter HTMLElement::dir();
setter HTMLElement::dir();
getter HTMLElement::lang();
setter HTMLElement::lang();
getter HTMLElement::title();
setter HTMLElement::title();

View File

@ -69,6 +69,7 @@ struct dom_html_br_element;
#include "HTMLBodyElement.bnd"
#include "HTMLButtonElement.bnd"
#include "HTMLBRElement.bnd"
#include "HTMLElement.bnd"
#include "HTMLHRElement.bnd"
/* specialisations of html_element */
@ -133,7 +134,6 @@ init HTMLMetaElement(struct dom_html_element *html_meta_element::html_element);
init HTMLLinkElement(struct dom_html_element *html_link_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);
init HTMLHtmlElement(struct dom_html_element *html_html_element::html_element);
/* specialisations of HTMLTableCellElement */
init HTMLTableHeaderCellElement(struct dom_html_element *html_table_header_cell_element::html_table_cell_element);