From 21a424653c148ca966012826064f8b5db5afc93f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 27 Apr 2017 12:03:45 +0100 Subject: Interface: Add public API for getting box-sizing from computed style. --- src/select/computed.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3