---
Makefile | 1 +
include/dom/dom.h | 1 +
include/dom/html/html_font_element.h | 31 +++++
src/html/Makefile | 5 +-
src/html/TODO | 2 +-
src/html/html_document.c | 4 +
src/html/html_document_strings.h | 2 +
src/html/html_font_element.c | 154 +++++++++++++++++++++
src/html/html_font_element.h | 46 ++++++
.../tests/level1/html/HTMLFontElement01.xml | 42 ++++++
.../tests/level1/html/HTMLFontElement01.xml.kfail | 42 ------
.../tests/level1/html/HTMLFontElement02.xml | 43 ++++++
.../tests/level1/html/HTMLFontElement02.xml.kfail | 43 ------
.../tests/level1/html/HTMLFontElement03.xml | 42 ++++++
.../tests/level1/html/HTMLFontElement03.xml.kfail | 42 ------
15 files changed, 370 insertions(+), 130 deletions(-)
create mode 100644 test/testcases/tests/level1/html/HTMLFontElement01.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLFontElement01.xml.kfail
create mode 100644 test/testcases/tests/level1/html/HTMLFontElement02.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLFontElement02.xml.kfail
create mode 100644 test/testcases/tests/level1/html/HTMLFontElement03.xml
delete mode 100644 test/testcases/tests/level1/html/HTMLFontElement03.xml.kfail
diff --git a/Makefile b/Makefile
index 3aac0c3..6a6f279 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_font_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..ab19619 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_font_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_font_element.h b/include/dom/html/html_font_element.h
index 2e182d5..eef6a9f 100644
--- a/include/dom/html/html_font_element.h
+++ b/include/dom/html/html_font_element.h
@@ -3,5 +3,36 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ * Copyright 2014 Faza Mahamood <fazamhd@live.com>
*/
+
+#ifndef dom_html_font_element_h_
+#define dom_html_font_element_h_
+
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_font_element dom_html_font_element;
+
+dom_exception dom_html_font_element_get_color(dom_html_font_element *ele,
+ dom_string **color);
+
+dom_exception dom_html_font_element_set_color(dom_html_font_element *ele,
+ dom_string *color);
+
+dom_exception dom_html_font_element_get_face(dom_html_font_element *ele,
+ dom_string **face);
+
+dom_exception dom_html_font_element_set_face(dom_html_font_element *ele,
+ dom_string *face);
+
+dom_exception dom_html_font_element_get_size(dom_html_font_element *ele,
+ dom_string **size);
+
+dom_exception dom_html_font_element_set_size(dom_html_font_element *ele,
+ dom_string *size);
+
+
No comments:
Post a Comment