diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 08ee1e1e1..bf66fc448 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1273,8 +1273,6 @@ getter HTMLStyleElement::nonce(string);\n setter HTMLStyleElement::nonce(string);\n getter HTMLStyleElement::scoped(boolean);\n setter HTMLStyleElement::scoped(boolean);\n -getter HTMLTableCaptionElement::align(string);\n -setter HTMLTableCaptionElement::align(string);\n getter HTMLTableCellElement::align(string);\n setter HTMLTableCellElement::align(string);\n getter HTMLTableCellElement::axis(string);\n diff --git a/javascript/duktape/HTMLTableCaptionElement.bnd b/javascript/duktape/HTMLTableCaptionElement.bnd new file mode 100644 index 000000000..75754ccac --- /dev/null +++ b/javascript/duktape/HTMLTableCaptionElement.bnd @@ -0,0 +1,14 @@ +/* HTML table caption 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 HTMLTableCaptionElement(struct dom_html_element *html_table_caption_element::html_element); + +getter HTMLTableCaptionElement::align(); +setter HTMLTableCaptionElement::align(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 9829826b6..0998d1ec7 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -98,6 +98,7 @@ struct dom_html_br_element; #include "HTMLScriptElement.bnd" #include "HTMLSelectElement.bnd" #include "HTMLStyleElement.bnd" +#include "HTMLTableCaptionElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -118,7 +119,6 @@ init HTMLTableCellElement(struct dom_html_element *html_table_cell_element::html init HTMLTableRowElement(struct dom_html_element *html_table_row_element::html_element); init HTMLTableSectionElement(struct dom_html_element *html_table_section_element::html_element); init HTMLTableColElement(struct dom_html_element *html_table_col_element::html_element); -init HTMLTableCaptionElement(struct dom_html_element *html_table_caption_element::html_element); init HTMLTableElement(struct dom_html_element *html_table_element::html_element); init HTMLMediaElement(struct dom_html_element *html_media_element::html_element); init HTMLTrackElement(struct dom_html_element *html_track_element::html_element);