summaryrefslogtreecommitdiff
path: root/css/select.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-19 14:21:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-19 14:21:15 +0000
commit1970fb7bdaa30454115777122a238b4931839f0b (patch)
tree6f6be8f5a2c3d76e2c1bae2b9dffc59e5699c324 /css/select.h
parentd5062bd9f93f02a62ca2fc2f2bdfb7d52e1ef585 (diff)
downloadnetsurf-1970fb7bdaa30454115777122a238b4931839f0b.tar.gz
netsurf-1970fb7bdaa30454115777122a238b4931839f0b.tar.bz2
Make nscss_get_style return completed computed styles. Now matches nscss_get_blank_style, and no need for anything outside css/select.c to see partial computed styles.
Diffstat (limited to 'css/select.h')
-rw-r--r--css/select.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/css/select.h b/css/select.h
index 7488ab94a..083fd91b6 100644
--- a/css/select.h
+++ b/css/select.h
@@ -37,6 +37,7 @@ typedef struct nscss_select_ctx
bool quirks;
nsurl *base_url;
lwc_string *universal;
+ const css_computed_style *parent_style;
} nscss_select_ctx;
css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len,