summaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-01-21 22:48:51 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-01-21 22:48:51 +0100
commit951fde7f55e2c74f58af69c71126c48e30425581 (patch)
treeb8d26fe91c89c99859b3feb5b11fe6165998b979 /src/html_common.hh
parentf016830aea4fdf4afbda03cd29d87568b3711d1c (diff)
add support for the CSS display: property
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index cf5c8114..8eed11f3 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -34,6 +34,9 @@
html->bugMessage(__VA_ARGS__); \
} D_STMT_END
+
+extern bool tagIsDisplayEnabled;
+
/*
* Typedefs
*/
@@ -103,7 +106,7 @@ struct _DilloHtmlState {
DilloHtmlTableMode table_mode;
DilloHtmlTableBorderMode table_border_mode;
bool cell_text_align_set;
-
+ bool display_none;
DilloHtmlListMode list_type;
int list_number;
@@ -238,8 +241,8 @@ DilloUrl *a_Html_url_new(DilloHtml *html,
const char *url_str, const char *base_url,
int use_base_url);
-DilloImage *a_Html_image_new(DilloHtml *html, const char *tag,
- int tagsize, DilloUrl *url);
+void a_Html_image_new(DilloHtml *html, const char *tag, int tagsize);
+DilloImage *a_Html_image_add(DilloHtml *html, DilloUrl *url);
char *a_Html_parse_entities(DilloHtml *html, const char *token, int toksize);
void a_Html_pop_tag(DilloHtml *html, int TagIdx);