summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-05-05 18:32:51 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-05-05 20:02:20 +0200
commit5861733529f3ab3549033599a3b3e9a4dc018ee6 (patch)
treee7df11d3a2148e312548e4dcf5e41b639ddb6fcc /source/html/css-apply.c
parent4637c5dc54b4b7c19bbda8f5d158ffa96e8f3862 (diff)
downloadmupdf-5861733529f3ab3549033599a3b3e9a4dc018ee6.tar.xz
epub: Parse (and ignore) display: inline-block.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r--source/html/css-apply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c
index fbccac8d..bf0336eb 100644
--- a/source/html/css-apply.c
+++ b/source/html/css-apply.c
@@ -892,6 +892,8 @@ fz_get_css_match_display(fz_css_match *match)
return DIS_BLOCK;
if (!strcmp(value->data, "list-item"))
return DIS_LIST_ITEM;
+ if (!strcmp(value->data, "inline-block"))
+ return DIS_INLINE_BLOCK;
}
return DIS_INLINE;
}