diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-08 11:18:42 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-07-18 03:44:34 +0530 |
commit | 248159cc63965706c08f0b92aa5a41ab819b1c7d (patch) | |
tree | 1f61f620154d06d3dbd560a4eee8a3e911f8174e /src/html/html_document.h | |
parent | 5ea57331b2cbe8f261988f01b5e30d388847b6be (diff) | |
download | libdom-248159cc63965706c08f0b92aa5a41ab819b1c7d.tar.gz libdom-248159cc63965706c08f0b92aa5a41ab819b1c7d.tar.bz2 |
HTMLDocument Element incomplete & test generator minor fix
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r-- | src/html/html_document.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h index 67250f5..c00529b 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -9,6 +9,7 @@ #define dom_internal_html_document_h_ #include <dom/html/html_document.h> +#include <dom/html/html_element.h> #include "core/document.h" @@ -23,6 +24,7 @@ struct dom_html_document { dom_string *domain; /**< HTML document domain */ dom_string *url; /**< HTML document URL */ dom_string *cookie; /**< HTML document cookie */ + dom_html_element *body; /**< HTML BodyElement */ /** Cached strings for html objects to use */ dom_string **memoised; @@ -126,6 +128,11 @@ dom_exception _dom_html_document_create_attribute(dom_document *doc, dom_exception _dom_html_document_create_attribute_ns(dom_document *doc, dom_string *namespace, dom_string *qname, dom_attr **result); +bool images_callback(struct dom_node_internal *node, void *ctx); +bool applets_callback(struct dom_node_internal *node, void *ctx); +bool applet_callback(struct dom_node_internal *node, void *ctx); +bool links_callback(struct dom_node_internal *node, void *ctx); +bool anchors_callback(struct dom_node_internal *node, void *ctx); #define DOM_DOCUMENT_VTABLE_HTML \ _dom_document_get_doctype, \ |