diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-10-13 09:57:35 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-10-13 09:57:35 +0100 |
commit | c39096c30d26f425df78958597dda8e720777e30 (patch) | |
tree | 19a1215cee3c55f9f0af6afff6c9b1bf5664b279 | |
parent | 5263712ad4950fb1ec12ed9516c5b6fd198ec66f (diff) | |
download | netsurf-c39096c30d26f425df78958597dda8e720777e30.tar.gz netsurf-c39096c30d26f425df78958597dda8e720777e30.tar.bz2 |
add automaticaly generated property setter and getters to HTMLHeadingElement
-rw-r--r-- | Docs/UnimplementedJavascript.txt | 2 | ||||
-rw-r--r-- | javascript/duktape/HTMLHeadingElement.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 dacec756d..1fd82ce5f 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -913,8 +913,6 @@ getter HTMLFrameSetElement::onstorage(user);\n setter HTMLFrameSetElement::onstorage(user);\n getter HTMLFrameSetElement::onunload(user);\n setter HTMLFrameSetElement::onunload(user);\n -getter HTMLHeadingElement::align(string);\n -setter HTMLHeadingElement::align(string);\n getter HTMLHRElement::color(string);\n setter HTMLHRElement::color(string);\n getter HTMLHtmlElement::version(string);\n diff --git a/javascript/duktape/HTMLHeadingElement.bnd b/javascript/duktape/HTMLHeadingElement.bnd new file mode 100644 index 000000000..be51223c1 --- /dev/null +++ b/javascript/duktape/HTMLHeadingElement.bnd @@ -0,0 +1,14 @@ +/* HTML heading 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 HTMLHeadingElement(struct dom_html_element *html_heading_element::html_element); + +getter HTMLHeadingElement::align(); +setter HTMLHeadingElement::align(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index dc694e0c2..f0ae8a7d9 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -74,6 +74,7 @@ struct dom_html_br_element; #include "HTMLFormElement.bnd" #include "HTMLFrameElement.bnd" #include "HTMLFrameSetElement.bnd" +#include "HTMLHeadingElement.bnd" #include "HTMLHRElement.bnd" /* specialisations of html_element */ @@ -128,7 +129,6 @@ init HTMLOListElement(struct dom_html_element *html_o_list_element::html_element init HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element); init HTMLPreElement(struct dom_html_element *html_pre_element::html_element); init HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element); -init HTMLHeadingElement(struct dom_html_element *html_heading_element::html_element); init HTMLStyleElement(struct dom_html_element *html_style_element::html_element); init HTMLMetaElement(struct dom_html_element *html_meta_element::html_element); init HTMLLinkElement(struct dom_html_element *html_link_element::html_element); |