---
Makefile | 1 +
include/dom/dom.h | 1 +
include/dom/html/html_hr_element.h | 34 ++++
src/html/Makefile | 4 +-
src/html/TODO | 2 +-
src/html/html_document.c | 4 +
src/html/html_document_strings.h | 1 +
src/html/html_hr_element.c | 184 +++++++++++++++++++++
src/html/html_hr_element.h | 45 +++++
.../tests/level1/html/HTMLHRElement01.xml | 42 +++++
.../tests/level1/html/HTMLHRElement01.xml.kfail | 42 -----
.../tests/level1/html/HTMLHRElement02.xml | 43 +++++
.../tests/level1/html/HTMLHRElement02.xml.kfail | 43 -----
.../tests/level1/html/HTMLHRElement03.xml | 42 +++++
.../tests/level1/html/HTMLHRElement03.xml.kfail | 42 -----
.../tests/level1/html/HTMLHRElement04.xml | 42 +++++
.../tests/level1/html/HTMLHRElement04.xml.kfail | 42 -----
17 files changed, 442 insertions(+), 172 deletions(-)
create mode 100644 test/testcases/tests/level1/html/HTMLHRElement01.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLHRElement01.xml.kfail
create mode 100644 test/testcases/tests/level1/html/HTMLHRElement02.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLHRElement02.xml.kfail
create mode 100644 test/testcases/tests/level1/html/HTMLHRElement03.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLHRElement03.xml.kfail
create mode 100644 test/testcases/tests/level1/html/HTMLHRElement04.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLHRElement04.xml.kfail
diff --git a/Makefile b/Makefile
index 7c50cad..3aac0c3 100644
--- a/Makefile
+++ b/Makefile
@@ -96,6 +96,7 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_text_area_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_option_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_opt_group_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_options_collection.h
+INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):$(Is)/html_hr_element.h
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
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..638154f 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_h_r_element dom_html_h_r_element;
+
+dom_exception dom_html_h_r_element_get_no_shade(
+ dom_html_h_r_element *ele, bool *no_shade);
+
+dom_exception dom_html_h_r_element_set_no_shade(
+ dom_html_h_r_element *ele, bool no_shade);
+
+dom_exception dom_html_h_r_element_get_align(
+ dom_html_h_r_element *element, dom_string **align);
+
+dom_exception dom_html_h_r_element_set_align(
+ dom_html_h_r_element *element, dom_string *align);
+
+dom_exception dom_html_h_r_element_get_size(
+ dom_html_h_r_element *element, dom_string **size);
+
+dom_exception dom_html_h_r_element_set_size(
+ dom_html_h_r_element *ele, dom_string *size);
+
+dom_exception dom_html_h_r_element_get_width(
+ dom_html_h_r_element *ele, dom_string **width);
+
+dom_exception dom_html_h_r_element_set_width(
+ dom_html_h_r_element *ele, dom_string *width);
+
+
No comments:
Post a Comment