From c7ca9ae8198c9b42ebf8d13491f14e63d692e147 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Oct 2015 15:39:45 +0100 Subject: [PATCH] add automaticaly generated property setter and getters to HTMLTableSectionElement --- Docs/UnimplementedJavascript.txt | 8 ------- .../duktape/HTMLTableSectionElement.bnd | 23 +++++++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 javascript/duktape/HTMLTableSectionElement.bnd diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index dfb8dd3a9..6fdf836fe 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1315,17 +1315,9 @@ method HTMLTableRowElement::deleteCell();\n method HTMLTableRowElement::insertCell();\n getter HTMLTableRowElement::rowIndex(long);\n getter HTMLTableRowElement::sectionRowIndex(long);\n -getter HTMLTableSectionElement::align(string);\n -setter HTMLTableSectionElement::align(string);\n -getter HTMLTableSectionElement::chOff(string);\n -setter HTMLTableSectionElement::chOff(string);\n -getter HTMLTableSectionElement::ch(string);\n -setter HTMLTableSectionElement::ch(string);\n method HTMLTableSectionElement::deleteRow();\n method HTMLTableSectionElement::insertRow();\n getter HTMLTableSectionElement::rows(user);\n -getter HTMLTableSectionElement::vAlign(string);\n -setter HTMLTableSectionElement::vAlign(string);\n getter HTMLTemplateElement::content(user);\n getter HTMLTextAreaElement::autocomplete(string);\n setter HTMLTextAreaElement::autocomplete(string);\n diff --git a/javascript/duktape/HTMLTableSectionElement.bnd b/javascript/duktape/HTMLTableSectionElement.bnd new file mode 100644 index 000000000..276533b3b --- /dev/null +++ b/javascript/duktape/HTMLTableSectionElement.bnd @@ -0,0 +1,23 @@ +/* HTML table section 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 HTMLTableSectionElement(struct dom_html_element *html_table_section_element::html_element); + +getter HTMLTableSectionElement::align(); +setter HTMLTableSectionElement::align(); + +getter HTMLTableSectionElement::chOff(); +setter HTMLTableSectionElement::chOff(); + +getter HTMLTableSectionElement::ch(); +setter HTMLTableSectionElement::ch(); + +getter HTMLTableSectionElement::vAlign(); +setter HTMLTableSectionElement::vAlign(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index d76fc244c..ba46dc606 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -103,6 +103,7 @@ struct dom_html_br_element; #include "HTMLTableColElement.bnd" #include "HTMLTableElement.bnd" #include "HTMLTableRowElement.bnd" +#include "HTMLTableSectionElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -119,7 +120,6 @@ init HTMLKeygenElement(struct dom_html_element *html_keygen_element::html_elemen init HTMLTextAreaElement(struct dom_html_element *html_text_area_element::html_element); init HTMLOptGroupElement(struct dom_html_element *html_opt_group_element::html_element); init HTMLDataListElement(struct dom_html_element *html_data_list_element::html_element); -init HTMLTableSectionElement(struct dom_html_element *html_table_section_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); init HTMLEmbedElement(struct dom_html_element *html_embed_element::html_element);