diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-19 21:22:45 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:10 +0530 |
commit | 913ca00c2745f342146fd62494ad85baacf2b008 (patch) | |
tree | 159a6080a454c36e10bb9f27c55f4787e08c96b3 /src/html/html_document.c | |
parent | 1dd1c7617aae1a4bd285d83a3c73d5d2f53761d7 (diff) | |
download | libdom-913ca00c2745f342146fd62494ad85baacf2b008.tar.gz libdom-913ca00c2745f342146fd62494ad85baacf2b008.tar.bz2 |
TableCol Element
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r-- | src/html/html_document.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c index 939b031..5aef359 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -52,6 +52,7 @@ #include "html/html_script_element.h" #include "html/html_tablecaption_element.h" #include "html/html_tablecell_element.h" +#include "html/html_tablecol_element.h" #include "core/attr.h" #include "core/string.h" @@ -341,6 +342,11 @@ _dom_html_document_create_element_internal(dom_html_document *html, ) { exc = _dom_html_table_cell_element_create(html, tag_name, namespace, prefix, (dom_html_table_cell_element **) result); + } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_COL])|| + dom_string_caseless_isequal(tag_name, html->memoised[hds_COLGROUP]) + ) { + exc = _dom_html_table_col_element_create(html, tag_name, namespace, prefix, + (dom_html_table_col_element **) result); } else { exc = _dom_html_element_create(html, tag_name, namespace, prefix, result); |