summaryrefslogtreecommitdiff
path: root/render/html_internal.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-01-03 23:58:18 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-01-05 13:49:51 +0000
commit6be6fa1b2197ffe6e511c5eff9abe14d883f8478 (patch)
tree6059c45898a74fe06300f73f4cd75b3571fd2c75 /render/html_internal.h
parenta67973f312b7cba8a6d56f9841a542a731a9ddb4 (diff)
downloadnetsurf-6be6fa1b2197ffe6e511c5eff9abe14d883f8478.tar.gz
netsurf-6be6fa1b2197ffe6e511c5eff9abe14d883f8478.tar.bz2
CSS utils: Handle new units in length conversion routines.
This causes a ripple effect of all the callsites needing information they didn't have.
Diffstat (limited to 'render/html_internal.h')
-rw-r--r--render/html_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/html_internal.h b/render/html_internal.h
index 2f84cf869..66ecb2b36 100644
--- a/render/html_internal.h
+++ b/render/html_internal.h
@@ -26,6 +26,7 @@
#include <libcss/libcss.h>
+#include "content/handlers/css/utils.h"
#include "content/content_protected.h"
#include "desktop/selection.h"
#include "render/html.h"
@@ -94,6 +95,9 @@ typedef struct html_content {
/** Base target */
char *base_target;
+ /** CSS length conversion context for document. */
+ nscss_len_ctx len_ctx;
+
/** Content has been aborted in the LOADING state */
bool aborted;