mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-21 03:32:35 +03:00
add automaticaly generated property setter and getters to HTMLImageElement
This commit is contained in:
parent
b54bf459a5
commit
e1769827fc
@ -925,12 +925,6 @@ getter HTMLIFrameElement::seamless(boolean);\n
|
||||
setter HTMLIFrameElement::seamless(boolean);\n
|
||||
getter HTMLIFrameElement::srcdoc(string);\n
|
||||
setter HTMLIFrameElement::srcdoc(string);\n
|
||||
getter HTMLImageElement::align(string);\n
|
||||
setter HTMLImageElement::align(string);\n
|
||||
getter HTMLImageElement::alt(string);\n
|
||||
setter HTMLImageElement::alt(string);\n
|
||||
getter HTMLImageElement::border(string);\n
|
||||
setter HTMLImageElement::border(string);\n
|
||||
getter HTMLImageElement::complete(boolean);\n
|
||||
getter HTMLImageElement::crossOrigin(string);\n
|
||||
setter HTMLImageElement::crossOrigin(string);\n
|
||||
@ -939,24 +933,14 @@ getter HTMLImageElement::height(long);\n
|
||||
setter HTMLImageElement::height(long);\n
|
||||
getter HTMLImageElement::hspace(long);\n
|
||||
setter HTMLImageElement::hspace(long);\n
|
||||
getter HTMLImageElement::isMap(boolean);\n
|
||||
setter HTMLImageElement::isMap(boolean);\n
|
||||
getter HTMLImageElement::longDesc(string);\n
|
||||
setter HTMLImageElement::longDesc(string);\n
|
||||
getter HTMLImageElement::lowsrc(string);\n
|
||||
setter HTMLImageElement::lowsrc(string);\n
|
||||
getter HTMLImageElement::name(string);\n
|
||||
setter HTMLImageElement::name(string);\n
|
||||
getter HTMLImageElement::naturalHeight(long);\n
|
||||
getter HTMLImageElement::naturalWidth(long);\n
|
||||
getter HTMLImageElement::sizes(string);\n
|
||||
setter HTMLImageElement::sizes(string);\n
|
||||
getter HTMLImageElement::srcset(string);\n
|
||||
setter HTMLImageElement::srcset(string);\n
|
||||
getter HTMLImageElement::src(string);\n
|
||||
setter HTMLImageElement::src(string);\n
|
||||
getter HTMLImageElement::useMap(string);\n
|
||||
setter HTMLImageElement::useMap(string);\n
|
||||
getter HTMLImageElement::vspace(long);\n
|
||||
setter HTMLImageElement::vspace(long);\n
|
||||
getter HTMLImageElement::width(long);\n
|
||||
|
35
javascript/duktape/HTMLImageElement.bnd
Normal file
35
javascript/duktape/HTMLImageElement.bnd
Normal file
@ -0,0 +1,35 @@
|
||||
/* HTML image 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 HTMLImageElement(struct dom_html_element *html_image_element::html_element);
|
||||
|
||||
getter HTMLImageElement::align();
|
||||
setter HTMLImageElement::align();
|
||||
|
||||
getter HTMLImageElement::alt();
|
||||
setter HTMLImageElement::alt();
|
||||
|
||||
getter HTMLImageElement::border();
|
||||
setter HTMLImageElement::border();
|
||||
|
||||
getter HTMLImageElement::isMap();
|
||||
setter HTMLImageElement::isMap();
|
||||
|
||||
getter HTMLImageElement::longDesc();
|
||||
setter HTMLImageElement::longDesc();
|
||||
|
||||
getter HTMLImageElement::name();
|
||||
setter HTMLImageElement::name();
|
||||
|
||||
getter HTMLImageElement::src();
|
||||
setter HTMLImageElement::src();
|
||||
|
||||
getter HTMLImageElement::useMap();
|
||||
setter HTMLImageElement::useMap();
|
@ -78,6 +78,7 @@ struct dom_html_br_element;
|
||||
#include "HTMLHRElement.bnd"
|
||||
#include "HTMLHTMLElement.bnd"
|
||||
#include "HTMLIFrameElement.bnd"
|
||||
#include "HTMLImageElement.bnd"
|
||||
|
||||
/* specialisations of html_element */
|
||||
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
|
||||
@ -115,7 +116,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 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);
|
||||
init HTMLModElement(struct dom_html_element *html_mod_element::html_element);
|
||||
|
Loading…
Reference in New Issue
Block a user