summaryrefslogtreecommitdiff
path: root/src/html/html_document.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-24 22:16:06 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-24 22:16:06 +0000
commit7f46d9136b2356e910f20429ec3ec7bfa265c29c (patch)
tree5a446f28caf1180294359fa8500ffe5612d6f2f7 /src/html/html_document.h
parentfba4a540d3162c139a1d189283987fd7f1f2e19e (diff)
downloadlibdom-7f46d9136b2356e910f20429ec3ec7bfa265c29c.tar.gz
libdom-7f46d9136b2356e910f20429ec3ec7bfa265c29c.tar.bz2
Migrate quirks from html_document to document
svn path=/trunk/libdom/; revision=13633
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r--src/html/html_document.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h
index 6d60aa5..3b7ed58 100644
--- a/src/html/html_document.h
+++ b/src/html/html_document.h
@@ -23,8 +23,6 @@ struct dom_html_document {
dom_string *domain; /**< HTML document domain */
dom_string *url; /**< HTML document URL */
dom_string *cookie; /**< HTML document cookie */
- dom_html_document_quirks_mode quirks;
- /**< HTML document is in quirks mode */
};
/* Create a HTMLDocument */
@@ -82,10 +80,6 @@ dom_exception _dom_html_document_writeln(dom_html_document *doc,
dom_string *text);
dom_exception _dom_html_document_get_elements_by_name(dom_html_document *doc,
dom_string *name, struct dom_nodelist **list);
-dom_exception _dom_html_document_get_quirks_mode(dom_html_document *doc,
- dom_html_document_quirks_mode *result);
-dom_exception _dom_html_document_set_quirks_mode(dom_html_document *doc,
- dom_html_document_quirks_mode result);
#define DOM_HTML_DOCUMENT_VTABLE \
@@ -107,9 +101,7 @@ dom_exception _dom_html_document_set_quirks_mode(dom_html_document *doc,
_dom_html_document_close, \
_dom_html_document_write, \
_dom_html_document_writeln, \
- _dom_html_document_get_elements_by_name, \
- _dom_html_document_get_quirks_mode, \
- _dom_html_document_set_quirks_mode
+ _dom_html_document_get_elements_by_name
dom_exception _dom_html_document_create_element(dom_document *doc,
dom_string *tag_name, dom_element **result);
@@ -148,7 +140,9 @@ dom_exception _dom_html_document_create_element_ns(dom_document *doc,
_dom_document_adopt_node, \
_dom_document_get_dom_config, \
_dom_document_normalize, \
- _dom_document_rename_node
+ _dom_document_rename_node, \
+ _dom_document_get_quirks_mode, \
+ _dom_document_set_quirks_mode
#endif