diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-27 12:03:45 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-04-27 12:03:45 +0100 |
commit | 21a424653c148ca966012826064f8b5db5afc93f (patch) | |
tree | 44d51f889bd9eaef04a07110937b52105a3b79cf /src/select | |
parent | 8d583fbe94b801353faec8e3a5a6729e3fe767a5 (diff) | |
download | libcss-21a424653c148ca966012826064f8b5db5afc93f.tar.gz libcss-21a424653c148ca966012826064f8b5db5afc93f.tar.bz2 |
Interface: Add public API for getting box-sizing from computed style.
Diffstat (limited to 'src/select')
-rw-r--r-- | src/select/computed.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/select/computed.c b/src/select/computed.c index 2efc8a7..23f7ea4 100644 --- a/src/select/computed.c +++ b/src/select/computed.c @@ -632,6 +632,11 @@ uint8_t css_computed_border_left_color(const css_computed_style *style, return get_border_left_color(style, color); } +uint8_t css_computed_box_sizing(const css_computed_style *style) +{ + return get_box_sizing(style); +} + uint8_t css_computed_height(const css_computed_style *style, css_fixed *length, css_unit *unit) { |