summaryrefslogtreecommitdiff
path: root/include/dom
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-03-10 09:19:06 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-03-10 09:19:06 +0000
commit2c5052d450577d5c26b902ae5f4402b87f76e406 (patch)
tree8942a65e0fd25edfdb4edff8155d6fd471340b2a /include/dom
parentec446872606a65cf59e6bbbded464110353d9c59 (diff)
parentdc6bcfdcc5058940a0ffc919587f1cce5c63ec2f (diff)
downloadlibdom-2c5052d450577d5c26b902ae5f4402b87f76e406.tar.gz
libdom-2c5052d450577d5c26b902ae5f4402b87f76e406.tar.bz2
Merge remote-tracking branch 'parwana/hrtag3'
This adds the HTMLHRElement (dom_html_hr_element). Reviewed-By: Daniel Silverstone <dsilvers@netsurf-browser.org>
Diffstat (limited to 'include/dom')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_hr_element.h34
2 files changed, 35 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 2ef6e9b..d34f27f 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -55,6 +55,7 @@
#include <dom/html/html_option_element.h>
#include <dom/html/html_select_element.h>
#include <dom/html/html_options_collection.h>
+#include <dom/html/html_hr_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_hr_element.h b/include/dom/html/html_hr_element.h
index 2e182d5..14f09f6 100644
--- a/include/dom/html/html_hr_element.h
+++ b/include/dom/html/html_hr_element.h
@@ -3,5 +3,39 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_hr_element_h_
+#define dom_html_hr_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_hr_element dom_html_hr_element;
+
+dom_exception dom_html_hr_element_get_no_shade(
+ dom_html_hr_element *ele, bool *no_shade);
+
+dom_exception dom_html_hr_element_set_no_shade(
+ dom_html_hr_element *ele, bool no_shade);
+
+dom_exception dom_html_hr_element_get_align(
+ dom_html_hr_element *element, dom_string **align);
+
+dom_exception dom_html_hr_element_set_align(
+ dom_html_hr_element *element, dom_string *align);
+
+dom_exception dom_html_hr_element_get_size(
+ dom_html_hr_element *element, dom_string **size);
+
+dom_exception dom_html_hr_element_set_size(
+ dom_html_hr_element *ele, dom_string *size);
+
+dom_exception dom_html_hr_element_get_width(
+ dom_html_hr_element *ele, dom_string **width);
+
+dom_exception dom_html_hr_element_set_width(
+ dom_html_hr_element *ele, dom_string *width);
+
+#endif