summaryrefslogtreecommitdiff
path: root/content/handlers/html/html_internal.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-05-04 12:02:55 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-05-04 14:51:42 +0100
commit920d6fa23dcf954a280812feeae4baf02fcaeb57 (patch)
tree9de362dd786bdafba3e41d2a11a9d0dc43d39642 /content/handlers/html/html_internal.h
parent637b4e5fc0ddb5db17b09778567cbad373d36beb (diff)
downloadnetsurf-920d6fa23dcf954a280812feeae4baf02fcaeb57.tar.gz
netsurf-920d6fa23dcf954a280812feeae4baf02fcaeb57.tar.bz2
CSS: Update for change to libcss select style API.
LibCSS now takes the client media spec, rather than just the media type we're selecting for. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
Diffstat (limited to 'content/handlers/html/html_internal.h')
-rw-r--r--content/handlers/html/html_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h
index a4ae1da57..2ba96f0f8 100644
--- a/content/handlers/html/html_internal.h
+++ b/content/handlers/html/html_internal.h
@@ -156,6 +156,8 @@ typedef struct html_content {
struct html_stylesheet *stylesheets;
/**< Style selection context */
css_select_ctx *select_ctx;
+ /**< Style selection media specification */
+ css_media media;
/**< Universal selector */
lwc_string *universal;