diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index b59664583..83de01120 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1227,8 +1227,6 @@ setter HTMLProgressElement::max(double);\n getter HTMLProgressElement::position(double);\n getter HTMLProgressElement::value(double);\n setter HTMLProgressElement::value(double);\n -getter HTMLQuoteElement::cite(string);\n -setter HTMLQuoteElement::cite(string);\n getter HTMLScriptElement::async(boolean);\n setter HTMLScriptElement::async(boolean);\n getter HTMLScriptElement::charset(string);\n diff --git a/javascript/duktape/HTMLQuoteElement.bnd b/javascript/duktape/HTMLQuoteElement.bnd new file mode 100644 index 000000000..9e62f5d78 --- /dev/null +++ b/javascript/duktape/HTMLQuoteElement.bnd @@ -0,0 +1,14 @@ +/* HTML quote element binding using duktape and libdom + * + * Copyright 2015 Vincent Sanders + * + * 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 HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element); + +getter HTMLQuoteElement::cite(); +setter HTMLQuoteElement::cite(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index a4da3d454..15784369b 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -94,6 +94,7 @@ struct dom_html_br_element; #include "HTMLOptionElement.bnd" #include "HTMLParagraphElement.bnd" #include "HTMLParamElement.bnd" +#include "HTMLQuoteElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -131,7 +132,6 @@ init HTMLDivElement(struct dom_html_element *html_div_element::html_element); 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 HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element); init HTMLPreElement(struct dom_html_element *html_pre_element::html_element); init HTMLStyleElement(struct dom_html_element *html_style_element::html_element); init HTMLTitleElement(struct dom_html_element *html_title_element::html_element);