add automaticaly generated property setter and getters to HTMLHtmlElement

This commit is contained in:
Vincent Sanders 2015-10-13 10:37:12 +01:00
parent c39096c30d
commit 450cefbd49
4 changed files with 16 additions and 5 deletions

View File

@ -915,8 +915,6 @@ getter HTMLFrameSetElement::onunload(user);\n
setter HTMLFrameSetElement::onunload(user);\n
getter HTMLHRElement::color(string);\n
setter HTMLHRElement::color(string);\n
getter HTMLHtmlElement::version(string);\n
setter HTMLHtmlElement::version(string);\n
getter HTMLIFrameElement::align(string);\n
setter HTMLIFrameElement::align(string);\n
getter HTMLIFrameElement::allowFullscreen(boolean);\n

View File

@ -8,7 +8,7 @@
* http://www.opensource.org/licenses/mit-license
*/
init HTMLHtmlElement(struct dom_html_element *html_html_element::html_element);
init HTMLElement(struct dom_html_element *html_element::element);
getter HTMLElement::dir();
setter HTMLElement::dir();

View File

@ -0,0 +1,14 @@
/* HTML 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 HTMLHtmlElement::version();
setter HTMLHtmlElement::version();

View File

@ -76,6 +76,7 @@ struct dom_html_br_element;
#include "HTMLFrameSetElement.bnd"
#include "HTMLHeadingElement.bnd"
#include "HTMLHRElement.bnd"
#include "HTMLHTMLElement.bnd"
/* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
@ -143,8 +144,6 @@ init HTMLTableDataCellElement(struct dom_html_element *html_table_data_cell_elem
init HTMLAudioElement(struct dom_html_element *html_audio_element::html_media_element);
init HTMLVideoElement(struct dom_html_element *html_video_element::html_media_element);
init HTMLElement(struct dom_html_element *html_element::element);
init Text(struct dom_node_text *text::character_data);
init Comment(struct dom_node_comment *comment::character_data);
init ProcessingInstruction(struct dom_node_text *text::character_data);