diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-10-13 22:23:22 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-10-13 22:23:22 +0100 |
commit | 4fa47860350521d27d25ab5723ee26d596936f2b (patch) | |
tree | da512ababdac058293706084334481ce46a56b53 | |
parent | 71849b0c04919c51a5907deefb8e71aa154fb12c (diff) | |
download | netsurf-4fa47860350521d27d25ab5723ee26d596936f2b.tar.gz netsurf-4fa47860350521d27d25ab5723ee26d596936f2b.tar.bz2 |
add automaticaly generated property setter and getters to HTMLLIElement
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLLIElement.bnd | 14 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 2 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 5ab76ed35..28d258f7b 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1042,8 +1042,6 @@ getter HTMLKeygenElement::willValidate(boolean);\n getter HTMLLabelElement::control(user);\n getter HTMLLabelElement::form(user);\n getter HTMLLegendElement::form(user);\n -getter HTMLLIElement::type(string);\n -setter HTMLLIElement::type(string);\n getter HTMLLIElement::value(long);\n setter HTMLLIElement::value(long);\n getter HTMLLinkElement::charset(string);\n diff --git a/javascript/duktape/HTMLLIElement.bnd b/javascript/duktape/HTMLLIElement.bnd new file mode 100644 index 000000000..d999c0d87 --- /dev/null +++ b/javascript/duktape/HTMLLIElement.bnd @@ -0,0 +1,14 @@ +/* HTML li 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 HTMLLIElement(struct dom_html_element *html_li_element::html_element); + +getter HTMLLIElement::type(); +setter HTMLLIElement::type(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 1d24ac5e0..03346507a 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -84,6 +84,7 @@ struct dom_html_br_element; #include "HTMLInputElement.bnd" #include "HTMLLabelElement.bnd" #include "HTMLLegendElement.bnd" +#include "HTMLLIElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -125,7 +126,6 @@ init HTMLTimeElement(struct dom_html_element *html_time_element::html_element); init HTMLDataElement(struct dom_html_element *html_data_element::html_element); init HTMLDivElement(struct dom_html_element *html_div_element::html_element); init HTMLDListElement(struct dom_html_element *html_d_list_element::html_element); -init HTMLLIElement(struct dom_html_element *html_li_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 HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element); |