From 5263712ad4950fb1ec12ed9516c5b6fd198ec66f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 13 Oct 2015 09:27:06 +0100 Subject: [PATCH] add automaticaly generated property setter and getters to HTMLFrameSetElement --- Docs/UnimplementedJavascript.txt | 4 ---- javascript/duktape/HTMLFrameElement.bnd | 2 +- javascript/duktape/HTMLFrameSetElement.bnd | 17 +++++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 4 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 javascript/duktape/HTMLFrameSetElement.bnd diff --git a/Docs/UnimplementedJavascript.txt b/Docs/UnimplementedJavascript.txt index 1faa769fc..dacec756d 100644 --- a/Docs/UnimplementedJavascript.txt +++ b/Docs/UnimplementedJavascript.txt @@ -887,8 +887,6 @@ method HTMLFormElement::reset();\n method HTMLFormElement::submit();\n getter HTMLFrameElement::contentDocument(user);\n getter HTMLFrameElement::contentWindow(user);\n -getter HTMLFrameSetElement::cols(string);\n -setter HTMLFrameSetElement::cols(string);\n getter HTMLFrameSetElement::onafterprint(user);\n setter HTMLFrameSetElement::onafterprint(user);\n getter HTMLFrameSetElement::onbeforeprint(user);\n @@ -915,8 +913,6 @@ getter HTMLFrameSetElement::onstorage(user);\n setter HTMLFrameSetElement::onstorage(user);\n getter HTMLFrameSetElement::onunload(user);\n setter HTMLFrameSetElement::onunload(user);\n -getter HTMLFrameSetElement::rows(string);\n -setter HTMLFrameSetElement::rows(string);\n getter HTMLHeadingElement::align(string);\n setter HTMLHeadingElement::align(string);\n getter HTMLHRElement::color(string);\n diff --git a/javascript/duktape/HTMLFrameElement.bnd b/javascript/duktape/HTMLFrameElement.bnd index 2b1d84d77..ee5cfe3d0 100644 --- a/javascript/duktape/HTMLFrameElement.bnd +++ b/javascript/duktape/HTMLFrameElement.bnd @@ -1,4 +1,4 @@ -/* HTML form element binding using duktape and libdom +/* HTML frame element binding using duktape and libdom * * Copyright 2015 Vincent Sanders * diff --git a/javascript/duktape/HTMLFrameSetElement.bnd b/javascript/duktape/HTMLFrameSetElement.bnd new file mode 100644 index 000000000..cc66e93d8 --- /dev/null +++ b/javascript/duktape/HTMLFrameSetElement.bnd @@ -0,0 +1,17 @@ +/* HTML frame set 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 HTMLFrameSetElement(struct dom_html_element *html_frame_set_element::html_element); + +getter HTMLFrameSetElement::cols(); +setter HTMLFrameSetElement::cols(); + +getter HTMLFrameSetElement::rows(); +setter HTMLFrameSetElement::rows(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index b9da3a449..dc694e0c2 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -73,12 +73,12 @@ struct dom_html_br_element; #include "HTMLFontElement.bnd" #include "HTMLFormElement.bnd" #include "HTMLFrameElement.bnd" +#include "HTMLFrameSetElement.bnd" #include "HTMLHRElement.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 HTMLFrameSetElement(struct dom_html_element *html_frame_set_element::html_element); init HTMLMarqueeElement(struct dom_html_element *html_marquee_element::html_element); init HTMLCanvasElement(struct dom_html_element *html_canvas_element::html_element); init HTMLTemplateElement(struct dom_html_element *html_template_element::html_element);