summaryrefslogtreecommitdiff
path: root/content/handlers/css/select.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-01-03 16:59:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-01-05 13:49:51 +0000
commit5776d3448c50d58af0eac8f3960200aa1b5fc1a0 (patch)
tree3cee8d98bad02fc012dd53a3bd6d7e45a9d606d3 /content/handlers/css/select.h
parentd1c656b55f7c21b5fb96bf5e1bd8fedaa55c4fc2 (diff)
downloadnetsurf-5776d3448c50d58af0eac8f3960200aa1b5fc1a0.tar.gz
netsurf-5776d3448c50d58af0eac8f3960200aa1b5fc1a0.tar.bz2
CSS computed style composition: Update for new CSS units.
Since the nscss_compute_font_size callback now needs to convert new units to absolute values, and some of these units require info from the root element's style, there are knock-on changes to ensure that the required info is available where its needed.
Diffstat (limited to 'content/handlers/css/select.h')
-rw-r--r--content/handlers/css/select.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/css/select.h b/content/handlers/css/select.h
index abfb85814..9fa6d3a56 100644
--- a/content/handlers/css/select.h
+++ b/content/handlers/css/select.h
@@ -37,6 +37,7 @@ typedef struct nscss_select_ctx
bool quirks;
struct nsurl *base_url;
lwc_string *universal;
+ const css_computed_style *root_style;
const css_computed_style *parent_style;
} nscss_select_ctx;