diff options
Diffstat (limited to 'src/select/properties/margin_top.c')
-rw-r--r-- | src/select/properties/margin_top.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/margin_top.c b/src/select/properties/margin_top.c index ec13e11..f66c8ee 100644 --- a/src/select/properties/margin_top.c +++ b/src/select/properties/margin_top.c @@ -14,25 +14,25 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_margin_top(uint32_t opv, css_style *style, +css_error css__cascade_margin_top(uint32_t opv, css_style *style, css_select_state *state) { - return cascade_length_auto(opv, style, state, set_margin_top); + return css__cascade_length_auto(opv, style, state, set_margin_top); } -css_error set_margin_top_from_hint(const css_hint *hint, +css_error css__set_margin_top_from_hint(const css_hint *hint, css_computed_style *style) { return set_margin_top(style, hint->status, hint->data.length.value, hint->data.length.unit); } -css_error initial_margin_top(css_select_state *state) +css_error css__initial_margin_top(css_select_state *state) { return set_margin_top(state->computed, CSS_MARGIN_SET, 0, CSS_UNIT_PX); } -css_error compose_margin_top(const css_computed_style *parent, +css_error css__compose_margin_top(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { |