diff options
Diffstat (limited to 'src/select/properties/border_top_width.c')
-rw-r--r-- | src/select/properties/border_top_width.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/properties/border_top_width.c b/src/select/properties/border_top_width.c index 237d594..c0fb7da 100644 --- a/src/select/properties/border_top_width.c +++ b/src/select/properties/border_top_width.c @@ -14,22 +14,22 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error css__cascade_border_top_width(uint32_t opv, css_style *style, +css_error css__cascade_border_top_width(uint32_t opv, css_style *style, css_select_state *state) { return css__cascade_border_width(opv, style, state, set_border_top_width); } -css_error css__set_border_top_width_from_hint(const css_hint *hint, +css_error css__set_border_top_width_from_hint(const css_hint *hint, css_computed_style *style) { - return set_border_top_width(style, hint->status, + return set_border_top_width(style, hint->status, hint->data.length.value, hint->data.length.unit); } css_error css__initial_border_top_width(css_select_state *state) { - return set_border_top_width(state->computed, CSS_BORDER_WIDTH_MEDIUM, + return set_border_top_width(state->computed, CSS_BORDER_WIDTH_MEDIUM, 0, CSS_UNIT_PX); } |