summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-12 09:18:04 +0100
committerVincent Sanders <vince@kyllikki.org>2015-10-12 09:18:04 +0100
commit967cfda0f86d5fcc67f5d57b6c1b7bb6ae6489df (patch)
treebdd7d853efa3a8c59850f42f6233caf8b7590c73 /javascript
parent0d4942d42c7b96a5b8c672d0c7075fda534f1262 (diff)
downloadnetsurf-967cfda0f86d5fcc67f5d57b6c1b7bb6ae6489df.tar.gz
netsurf-967cfda0f86d5fcc67f5d57b6c1b7bb6ae6489df.tar.bz2
add automaticaly generated property setter and getters to HTMLFontElement
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/HTMLFontElement.bnd20
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 21 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLFontElement.bnd b/javascript/duktape/HTMLFontElement.bnd
new file mode 100644
index 000000000..e648a72e1
--- /dev/null
+++ b/javascript/duktape/HTMLFontElement.bnd
@@ -0,0 +1,20 @@
+/* HTML font 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 HTMLFontElement(struct dom_html_element *html_font_element::html_element);
+
+getter HTMLFontElement::color();
+setter HTMLFontElement::color();
+
+getter HTMLFontElement::face();
+setter HTMLFontElement::face();
+
+getter HTMLFontElement::size();
+setter HTMLFontElement::size();
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index bc48204f3..f27870947 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -70,11 +70,11 @@ struct dom_html_br_element;
#include "HTMLButtonElement.bnd"
#include "HTMLBRElement.bnd"
#include "HTMLElement.bnd"
+#include "HTMLFontElement.bnd"
#include "HTMLHRElement.bnd"
/* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
-init HTMLFontElement(struct dom_html_element *html_font_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
init HTMLFrameElement(struct dom_html_element *html_frame_element::html_element);
init HTMLFrameSetElement(struct dom_html_element *html_frame_set_element::html_element);