From 920d6fa23dcf954a280812feeae4baf02fcaeb57 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 4 May 2019 12:02:55 +0100 Subject: 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 --- content/handlers/html/html_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content/handlers/html/html_internal.h') 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; -- cgit v1.2.3