summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-18 09:24:36 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:09 +0530
commit3c9d9494222d81c207cc09a7686cca50db109c0b (patch)
treede83d6de9d2c24b39b9f402a2b5bc3cdaa00f3e0 /src/html/html_document.c
parent2c4fcd2e416c51dc95af1e9054df1dc1fa28ff25 (diff)
downloadlibdom-3c9d9494222d81c207cc09a7686cca50db109c0b.tar.gz
libdom-3c9d9494222d81c207cc09a7686cca50db109c0b.tar.bz2
TableCaption Element
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r--src/html/html_document.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c
index b7bf117..6eda5e8 100644
--- a/src/html/html_document.c
+++ b/src/html/html_document.c
@@ -50,6 +50,7 @@
#include "html/html_map_element.h"
#include "html/html_area_element.h"
#include "html/html_script_element.h"
+#include "html/html_tablecaption_element.h"
#include "core/attr.h"
#include "core/string.h"
@@ -331,6 +332,9 @@ _dom_html_document_create_element_internal(dom_html_document *html,
} else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_SCRIPT])) {
exc = _dom_html_script_element_create(html, namespace, prefix,
(dom_html_script_element **) result);
+ } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_CAPTION])) {
+ exc = _dom_html_table_caption_element_create(html, namespace, prefix,
+ (dom_html_table_caption_element **) result);
} else {
exc = _dom_html_element_create(html, tag_name, namespace,
prefix, result);