diff options
Diffstat (limited to 'src/select/properties/display.c')
-rw-r--r-- | src/select/properties/display.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/display.c b/src/select/properties/display.c index 9c05f52..02f5e1e 100644 --- a/src/select/properties/display.c +++ b/src/select/properties/display.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_display(uint32_t opv, css_style *style, +css_error css__cascade_display(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_DISPLAY_INHERIT; @@ -74,7 +74,7 @@ css_error cascade_display(uint32_t opv, css_style *style, } } - if (outranks_existing(getOpcode(opv), isImportant(opv), state, + if (css__outranks_existing(getOpcode(opv), isImportant(opv), state, isInherit(opv))) { return set_display(state->computed, value); } @@ -82,18 +82,18 @@ css_error cascade_display(uint32_t opv, css_style *style, return CSS_OK; } -css_error set_display_from_hint(const css_hint *hint, +css_error css__set_display_from_hint(const css_hint *hint, css_computed_style *style) { return set_display(style, hint->status); } -css_error initial_display(css_select_state *state) +css_error css__initial_display(css_select_state *state) { return set_display(state->computed, CSS_DISPLAY_INLINE); } -css_error compose_display(const css_computed_style *parent, +css_error css__compose_display(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { |