add automaticaly generated property setter and getters to HTMLIFrameElement

This commit is contained in:
Vincent Sanders 2015-10-13 16:24:22 +01:00
parent 450cefbd49
commit b54bf459a5
3 changed files with 42 additions and 21 deletions

View File

@ -915,36 +915,16 @@ getter HTMLFrameSetElement::onunload(user);\n
setter HTMLFrameSetElement::onunload(user);\n
getter HTMLHRElement::color(string);\n
setter HTMLHRElement::color(string);\n
getter HTMLIFrameElement::align(string);\n
setter HTMLIFrameElement::align(string);\n
getter HTMLIFrameElement::allowFullscreen(boolean);\n
setter HTMLIFrameElement::allowFullscreen(boolean);\n
getter HTMLIFrameElement::contentDocument(user);\n
getter HTMLIFrameElement::contentWindow(user);\n
getter HTMLIFrameElement::frameBorder(string);\n
setter HTMLIFrameElement::frameBorder(string);\n
method HTMLIFrameElement::getSVGDocument();\n
getter HTMLIFrameElement::height(string);\n
setter HTMLIFrameElement::height(string);\n
getter HTMLIFrameElement::longDesc(string);\n
setter HTMLIFrameElement::longDesc(string);\n
getter HTMLIFrameElement::marginHeight(string);\n
setter HTMLIFrameElement::marginHeight(string);\n
getter HTMLIFrameElement::marginWidth(string);\n
setter HTMLIFrameElement::marginWidth(string);\n
getter HTMLIFrameElement::name(string);\n
setter HTMLIFrameElement::name(string);\n
getter HTMLIFrameElement::sandbox(user);\n
getter HTMLIFrameElement::scrolling(string);\n
setter HTMLIFrameElement::scrolling(string);\n
getter HTMLIFrameElement::seamless(boolean);\n
setter HTMLIFrameElement::seamless(boolean);\n
getter HTMLIFrameElement::srcdoc(string);\n
setter HTMLIFrameElement::srcdoc(string);\n
getter HTMLIFrameElement::src(string);\n
setter HTMLIFrameElement::src(string);\n
getter HTMLIFrameElement::width(string);\n
setter HTMLIFrameElement::width(string);\n
getter HTMLImageElement::align(string);\n
setter HTMLImageElement::align(string);\n
getter HTMLImageElement::alt(string);\n

View File

@ -0,0 +1,41 @@
/* HTML I frame 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 HTMLIFrameElement(struct dom_html_element *html_iframe_element::html_element);
getter HTMLIFrameElement::align();
setter HTMLIFrameElement::align();
getter HTMLIFrameElement::frameBorder();
setter HTMLIFrameElement::frameBorder();
getter HTMLIFrameElement::height();
setter HTMLIFrameElement::height();
getter HTMLIFrameElement::longDesc();
setter HTMLIFrameElement::longDesc();
getter HTMLIFrameElement::marginHeight();
setter HTMLIFrameElement::marginHeight();
getter HTMLIFrameElement::marginWidth();
setter HTMLIFrameElement::marginWidth();
getter HTMLIFrameElement::name();
setter HTMLIFrameElement::name();
getter HTMLIFrameElement::scrolling();
setter HTMLIFrameElement::scrolling();
getter HTMLIFrameElement::src();
setter HTMLIFrameElement::src();
getter HTMLIFrameElement::width();
setter HTMLIFrameElement::width();

View File

@ -77,6 +77,7 @@ struct dom_html_br_element;
#include "HTMLHeadingElement.bnd"
#include "HTMLHRElement.bnd"
#include "HTMLHTMLElement.bnd"
#include "HTMLIFrameElement.bnd"
/* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
@ -114,7 +115,6 @@ init HTMLTrackElement(struct dom_html_element *html_track_element::html_element)
init HTMLParamElement(struct dom_html_element *html_param_element::html_element);
init HTMLObjectElement(struct dom_html_element *html_object_element::html_element);
init HTMLEmbedElement(struct dom_html_element *html_embed_element::html_element);
init HTMLIFrameElement(struct dom_html_element *html_i_frame_element::html_element);
init HTMLImageElement(struct dom_html_element *html_image_element::html_element);
init HTMLSourceElement(struct dom_html_element *html_source_element::html_element);
init HTMLPictureElement(struct dom_html_element *html_picture_element::html_element);