summaryrefslogtreecommitdiff
path: root/source/html/html-layout.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-06 15:21:25 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-06 15:21:25 +0100
commit0ab9b380091f2c7dc2125244b0de2b8d1a5049fc (patch)
tree2d4f2dc1bb15824d84848c004302f1ef2a05255d /source/html/html-layout.c
parent46235ec8cfad7f4b601a19ac7874727bfac8a84b (diff)
downloadmupdf-0ab9b380091f2c7dc2125244b0de2b8d1a5049fc.tar.xz
epub: Speed up css application by sorting the matched property list.
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r--source/html/html-layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index b7e2b779..d3f80cef 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -59,6 +59,9 @@ static int iswhite(int c)
return c == ' ' || c == '\t' || c == '\r' || c == '\n';
}
+/* TODO: pool allocator for flow nodes */
+/* TODO: store text by pointing to a giant buffer */
+
static void fz_drop_html_flow(fz_context *ctx, fz_html_flow *flow)
{
while (flow)