diff options
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r-- | source/html/html-layout.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c index a6e56e06..0b28e282 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -2699,6 +2699,11 @@ fz_parse_html(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const cha fz_warn(ctx, "ignoring styles due to errors: %s", fz_caught_message(ctx)); } +#ifndef NDEBUG + if (fz_atoi(getenv("FZ_DEBUG_CSS"))) + fz_debug_css(ctx, g.css); +#endif + g.pool = fz_new_pool(ctx); fz_try(ctx) { |