diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 20:11:50 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 20:11:50 +0000 |
commit | b31642a8f57330f6d266a8e7cba48b8665ff367a (patch) | |
tree | 702493458699165a7f69500270ce13469cf204a6 /src/html/html_document.h | |
parent | 2b87c816994f68f9cc4ae22bcd31b6b3a203623a (diff) | |
download | libdom-b31642a8f57330f6d266a8e7cba48b8665ff367a.tar.gz libdom-b31642a8f57330f6d266a8e7cba48b8665ff367a.tar.bz2 |
Change bool for an enum because quirks are tristate.
svn path=/trunk/libdom/; revision=13617
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r-- | src/html/html_document.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h index 289f7a2..6d60aa5 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -23,7 +23,8 @@ struct dom_html_document { dom_string *domain; /**< HTML document domain */ dom_string *url; /**< HTML document URL */ dom_string *cookie; /**< HTML document cookie */ - bool quirks; /**< HTML document is in quirks mode */ + dom_html_document_quirks_mode quirks; + /**< HTML document is in quirks mode */ }; /* Create a HTMLDocument */ @@ -82,9 +83,9 @@ dom_exception _dom_html_document_writeln(dom_html_document *doc, 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, - bool *result); + dom_html_document_quirks_mode *result); dom_exception _dom_html_document_set_quirks_mode(dom_html_document *doc, - bool result); + dom_html_document_quirks_mode result); #define DOM_HTML_DOCUMENT_VTABLE \ |