---
Makefile | 1 +
include/dom/dom.h | 1 +
include/dom/html/html_div_element.h | 16 +++
src/html/Makefile | 5 +-
src/html/TODO | 2 +-
src/html/html_div_element.c | 153 +++++++++++++++++++++
src/html/html_div_element.h | 45 ++++++
src/html/html_document.c | 4 +
...vElement01.xml.notimpl => HTMLDivElement01.xml} | 0
9 files changed, 224 insertions(+), 3 deletions(-)
rename test/testcases/tests/level1/html/{HTMLDivElement01.xml.notimpl => HTMLDivElement01.xml} (100%)
diff --git a/Makefile b/Makefile
index 3aac0c3..fa0ad62 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,7 @@ 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) $(I):$(Is)/html_div_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 d34f27f..3a2e763 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -56,6 +56,7 @@
#include <dom/html/html_select_element.h>
#include <dom/html/html_options_collection.h>
#include <dom/html/html_hr_element.h>
+#include <dom/html/html_div_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_div_element.h b/include/dom/html/html_div_element.h
index 2e182d5..47c999e 100644
--- a/include/dom/html/html_div_element.h
+++ b/include/dom/html/html_div_element.h
@@ -3,5 +3,21 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ * Copyright 2014 Achal Aggarwal<theachalaggarwal@gmail.com>
*/
+#ifndef dom_html_div_element_h_
+#define dom_html_div_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_div_element dom_html_div_element;
+
+dom_exception dom_html_div_element_get_align(
+ dom_html_div_element *element, dom_string **align);
+
+dom_exception dom_html_div_element_set_align(
+ dom_html_div_element *element, dom_string *align);
+
+
No comments:
Post a Comment