summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/HTMLParagraphElement.bnd14
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 15 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLParagraphElement.bnd b/javascript/duktape/HTMLParagraphElement.bnd
new file mode 100644
index 000000000..cc9ad83b5
--- /dev/null
+++ b/javascript/duktape/HTMLParagraphElement.bnd
@@ -0,0 +1,14 @@
+/* HTML paragraph 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 HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element);
+
+getter HTMLParagraphElement::align();
+setter HTMLParagraphElement::align();
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index 3066a7c66..ddb98a7db 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -92,6 +92,7 @@ struct dom_html_br_element;
#include "HTMLMetaElement.bnd"
#include "HTMLObjectElement.bnd"
#include "HTMLOptionElement.bnd"
+#include "HTMLParagraphElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@@ -132,7 +133,6 @@ init HTMLUListElement(struct dom_html_element *html_u_list_element::html_element
init HTMLOListElement(struct dom_html_element *html_o_list_element::html_element);
init HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element);
init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
-init HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element);
init HTMLStyleElement(struct dom_html_element *html_style_element::html_element);
init HTMLTitleElement(struct dom_html_element *html_title_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);