From edcaeef8cf7d700d6013791a586714ffe3841769 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 22 Jul 2012 12:07:26 +0100 Subject: HTMLBodyElement: Implementation and test enabling --- src/html/html_document.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/html/html_document.c') diff --git a/src/html/html_document.c b/src/html/html_document.c index 7644fde..ffc2e1c 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -13,6 +13,7 @@ #include "html/html_collection.h" #include "html/html_html_element.h" #include "html/html_head_element.h" +#include "html/html_body_element.h" #include "html/html_link_element.h" #include "html/html_title_element.h" #include "html/html_meta_element.h" @@ -188,6 +189,9 @@ _dom_html_document_create_element_internal(dom_html_document *html, } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_TITLE])) { exc = _dom_html_title_element_create(html, namespace, prefix, (dom_html_title_element **) result); + } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_BODY])) { + exc = _dom_html_body_element_create(html, namespace, prefix, + (dom_html_body_element **) result); } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_FORM])) { exc = _dom_html_form_element_create(html, namespace, prefix, (dom_html_form_element **) result); -- cgit v1.2.3