summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-02 08:42:01 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:26:37 +0530
commit7d2a3a352e8deeef4cbd1da03b8eb6ff113054b6 (patch)
tree187b850c6c4869d39e6e8e00a4ac5b25d9ac9afb /src/html/html_document.c
parent8f3e2dcd42ba26122dd3f20d0c1e1984c27b7fd0 (diff)
downloadlibdom-7d2a3a352e8deeef4cbd1da03b8eb6ff113054b6.tar.gz
libdom-7d2a3a352e8deeef4cbd1da03b8eb6ff113054b6.tar.bz2
Fieldset & Legend Elements
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r--src/html/html_document.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c
index 7a10f2a..27016ef 100644
--- a/src/html/html_document.c
+++ b/src/html/html_document.c
@@ -28,6 +28,8 @@
#include "html/html_dlist_element.h"
#include "html/html_directory_element.h"
#include "html/html_menu_element.h"
+#include "html/html_fieldset_element.h"
+#include "html/html_legend_element.h"
#include "core/attr.h"
#include "core/string.h"
@@ -236,6 +238,12 @@ _dom_html_document_create_element_internal(dom_html_document *html,
} else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_MENU])) {
exc = _dom_html_menu_element_create(html, namespace, prefix,
(dom_html_menu_element **) result);
+ } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_FIELDSET])) {
+ exc = _dom_html_field_set_element_create(html, namespace, prefix,
+ (dom_html_field_set_element **) result);
+ } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_LEGEND])) {
+ exc = _dom_html_legend_element_create(html, namespace, prefix,
+ (dom_html_legend_element **) result);
} else {
exc = _dom_html_element_create(html, tag_name, namespace,
prefix, result);