diff options
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLMapElement.bnd | 14 | ||||
-rw-r--r-- | javascript/duktape/netsurf.bnd | 2 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 8f9a7b360..8033b61c6 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -1049,8 +1049,6 @@ setter HTMLLinkElement::crossOrigin(string);\n getter HTMLLinkElement::relList(user);\n getter HTMLLinkElement::sizes(user);\n getter HTMLMapElement::areas(user);\n -getter HTMLMapElement::name(string);\n -setter HTMLMapElement::name(string);\n getter HTMLMarqueeElement::behavior(string);\n setter HTMLMarqueeElement::behavior(string);\n getter HTMLMarqueeElement::bgColor(string);\n diff --git a/javascript/duktape/HTMLMapElement.bnd b/javascript/duktape/HTMLMapElement.bnd new file mode 100644 index 000000000..0603f6f81 --- /dev/null +++ b/javascript/duktape/HTMLMapElement.bnd @@ -0,0 +1,14 @@ +/* HTML map 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 HTMLMapElement(struct dom_html_element *html_map_element::html_element); + +getter HTMLMapElement::name(); +setter HTMLMapElement::name(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 771fa5ecb..2ecacf549 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -86,6 +86,7 @@ struct dom_html_br_element; #include "HTMLLegendElement.bnd" #include "HTMLLIElement.bnd" #include "HTMLLinkElement.bnd" +#include "HTMLMapElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -113,7 +114,6 @@ init HTMLTableSectionElement(struct dom_html_element *html_table_section_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 HTMLMapElement(struct dom_html_element *html_map_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 HTMLParamElement(struct dom_html_element *html_param_element::html_element); |