summaryrefslogtreecommitdiff
path: root/javascript/duktape/HTMLDivElement.bnd
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-10-29 11:47:53 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2015-10-29 11:47:53 +0000
commit6098646e727533f7e7a7c062822e51a59c34161e (patch)
tree2fa84421c0509e55b5ad2ba208f4bfc85b1ba23a /javascript/duktape/HTMLDivElement.bnd
parent8ff9abf5b69c2040ff70890ac85d459a9c9e5537 (diff)
downloadnetsurf-6098646e727533f7e7a7c062822e51a59c34161e.tar.gz
netsurf-6098646e727533f7e7a7c062822e51a59c34161e.tar.bz2
Add binding for DIV element's align getter/setter, and test.
Currently the second part of the test fails.
Diffstat (limited to 'javascript/duktape/HTMLDivElement.bnd')
-rw-r--r--javascript/duktape/HTMLDivElement.bnd14
1 files changed, 14 insertions, 0 deletions
diff --git a/javascript/duktape/HTMLDivElement.bnd b/javascript/duktape/HTMLDivElement.bnd
new file mode 100644
index 000000000..759e34d96
--- /dev/null
+++ b/javascript/duktape/HTMLDivElement.bnd
@@ -0,0 +1,14 @@
+/* HTML div element binding using duktape and libdom
+ *
+ * Copyright 2015 Michael Drake <tlsa@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 HTMLDivElement(struct dom_html_element *html_div_element::html_element);
+
+getter HTMLDivElement::align();
+setter HTMLDivElement::align();