diff options
Diffstat (limited to 'javascript/duktape')
-rw-r--r-- | javascript/duktape/HTMLElement.bnd | 20 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLElement.bnd b/javascript/duktape/HTMLElement.bnd new file mode 100644 index 000000000..7a3424913 --- /dev/null +++ b/javascript/duktape/HTMLElement.bnd @@ -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(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index dd208d373..bc48204f3 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -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); |