summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-27 19:38:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-27 19:38:34 +0000
commitfc6b96707730c54fb7ac4040680d79864169b5e0 (patch)
treeb26b5cc05c4ce87564b679628db3f044972eda3c /src/stylesheet.h
parent854eda8b63cc260524a5ec3e3681308b382c7060 (diff)
downloadlibcss-fc6b96707730c54fb7ac4040680d79864169b5e0.tar.gz
libcss-fc6b96707730c54fb7ac4040680d79864169b5e0.tar.bz2
Calculate the in-memory size of stylesheets and provide some API to access this.
svn path=/trunk/libcss/; revision=8830
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 4ac560c..80b58b0 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -175,6 +175,8 @@ struct css_stylesheet {
bool inline_style; /**< Is an inline style */
+ size_t size; /**< Size, in bytes */
+
css_url_resolution_fn resolve; /**< URL resolution function */
void *resolve_pw; /**< Private word */