diff options
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLLegendElement.bnd | 14 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 7 |
3 files changed, 18 insertions, 5 deletions
diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 3d87b2339..5ab76ed35 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1041,8 +1041,6 @@ getter HTMLKeygenElement::validity(user);\n getter HTMLKeygenElement::willValidate(boolean);\n getter HTMLLabelElement::control(user);\n getter HTMLLabelElement::form(user);\n -getter HTMLLegendElement::align(string);\n -setter HTMLLegendElement::align(string);\n getter HTMLLegendElement::form(user);\n getter HTMLLIElement::type(string);\n setter HTMLLIElement::type(string);\n diff --git a/javascript/duktape/HTMLLegendElement.bnd b/javascript/duktape/HTMLLegendElement.bnd new file mode 100644 index 000000000..1bb95a94a --- /dev/null +++ b/javascript/duktape/HTMLLegendElement.bnd @@ -0,0 +1,14 @@ +/* HTML legend 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 HTMLLegendElement(struct dom_html_element *html_legend_element::html_element); + +getter HTMLLegendElement::align(); +setter HTMLLegendElement::align(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 0e467ee0d..1d24ac5e0 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -62,6 +62,9 @@ struct dom_html_br_element; #include "Location.bnd" #include "Navigator.bnd" +#include "HTMLElement.bnd" + +/* specialisations of html_element */ #include "HTMLAnchorElement.bnd" #include "HTMLAppletElement.bnd" #include "HTMLAreaElement.bnd" @@ -69,7 +72,6 @@ struct dom_html_br_element; #include "HTMLBodyElement.bnd" #include "HTMLButtonElement.bnd" #include "HTMLBRElement.bnd" -#include "HTMLElement.bnd" #include "HTMLFontElement.bnd" #include "HTMLFormElement.bnd" #include "HTMLFrameElement.bnd" @@ -81,8 +83,8 @@ struct dom_html_br_element; #include "HTMLImageElement.bnd" #include "HTMLInputElement.bnd" #include "HTMLLabelElement.bnd" +#include "HTMLLegendElement.bnd" -/* specialisations of html_element */ init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); init HTMLMarqueeElement(struct dom_html_element *html_marquee_element::html_element); @@ -93,7 +95,6 @@ init HTMLDialogElement(struct dom_html_element *html_dialog_element::html_elemen init HTMLMenuItemElement(struct dom_html_element *html_menu_item_element::html_element); init HTMLMenuElement(struct dom_html_element *html_menu_element::html_element); init HTMLDetailsElement(struct dom_html_element *html_details_element::html_element); -init HTMLLegendElement(struct dom_html_element *html_legend_element::html_element); init HTMLFieldSetElement(struct dom_html_element *html_field_set_element::html_element); init HTMLMeterElement(struct dom_html_element *html_meter_element::html_element); init HTMLProgressElement(struct dom_html_element *html_progress_element::html_element); |