diff options
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLElement.bnd | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLHTMLElement.bnd | 14 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 3 |
4 files changed, 16 insertions, 5 deletions
diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 1fd82ce5f..cd7e7c131 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -915,8 +915,6 @@ getter HTMLFrameSetElement::onunload(user);\n setter HTMLFrameSetElement::onunload(user);\n getter HTMLHRElement::color(string);\n setter HTMLHRElement::color(string);\n -getter HTMLHtmlElement::version(string);\n -setter HTMLHtmlElement::version(string);\n getter HTMLIFrameElement::align(string);\n setter HTMLIFrameElement::align(string);\n getter HTMLIFrameElement::allowFullscreen(boolean);\n diff --git a/javascript/duktape/HTMLElement.bnd b/javascript/duktape/HTMLElement.bnd index 7a3424913..ad35fe5ae 100644 --- a/javascript/duktape/HTMLElement.bnd +++ b/javascript/duktape/HTMLElement.bnd @@ -8,7 +8,7 @@ * http://www.opensource.org/licenses/mit-license */ -init HTMLHtmlElement(struct dom_html_element *html_html_element::html_element); +init HTMLElement(struct dom_html_element *html_element::element); getter HTMLElement::dir(); setter HTMLElement::dir(); diff --git a/javascript/duktape/HTMLHTMLElement.bnd b/javascript/duktape/HTMLHTMLElement.bnd new file mode 100644 index 000000000..01697d860 --- /dev/null +++ b/javascript/duktape/HTMLHTMLElement.bnd @@ -0,0 +1,14 @@ +/* HTML html 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 HTMLHtmlElement(struct dom_html_element *html_html_element::html_element); + +getter HTMLHtmlElement::version(); +setter HTMLHtmlElement::version(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index f0ae8a7d9..0194c00a1 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -76,6 +76,7 @@ struct dom_html_br_element; #include "HTMLFrameSetElement.bnd" #include "HTMLHeadingElement.bnd" #include "HTMLHRElement.bnd" +#include "HTMLHTMLElement.bnd" /* specialisations of html_element */ init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); @@ -143,8 +144,6 @@ init HTMLTableDataCellElement(struct dom_html_element *html_table_data_cell_elem init HTMLAudioElement(struct dom_html_element *html_audio_element::html_media_element); init HTMLVideoElement(struct dom_html_element *html_video_element::html_media_element); -init HTMLElement(struct dom_html_element *html_element::element); - init Text(struct dom_node_text *text::character_data); init Comment(struct dom_node_comment *comment::character_data); init ProcessingInstruction(struct dom_node_text *text::character_data); |