add automaticaly generated property setter and getters to HTMLTitleElement

This commit is contained in:
Vincent Sanders 2015-10-14 15:54:22 +01:00
parent 9666888f0c
commit 9409bc2ad7
3 changed files with 15 additions and 3 deletions

View File

@ -1361,8 +1361,6 @@ getter HTMLTextAreaElement::wrap(string);\n
setter HTMLTextAreaElement::wrap(string);\n
getter HTMLTimeElement::dateTime(string);\n
setter HTMLTimeElement::dateTime(string);\n
getter HTMLTitleElement::text(string);\n
setter HTMLTitleElement::text(string);\n
getter HTMLTrackElement::default(boolean);\n
setter HTMLTrackElement::default(boolean);\n
getter HTMLTrackElement::kind(string);\n

View File

@ -0,0 +1,14 @@
/* HTML title 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 HTMLTitleElement(struct dom_html_element *html_title_element::html_element);
getter HTMLTitleElement::text();
setter HTMLTitleElement::text();

View File

@ -105,6 +105,7 @@ struct dom_html_br_element;
#include "HTMLTableRowElement.bnd"
#include "HTMLTableSectionElement.bnd"
#include "HTMLTextAreaElement.bnd"
#include "HTMLTitleElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@ -134,7 +135,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 HTMLTitleElement(struct dom_html_element *html_title_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);
/* specialisations of HTMLTableCellElement */