diff options
Diffstat (limited to 'src/select/properties/font_style.c')
-rw-r--r-- | src/select/properties/font_style.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/font_style.c b/src/select/properties/font_style.c index 23aa119..68846d6 100644 --- a/src/select/properties/font_style.c +++ b/src/select/properties/font_style.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_font_style(uint32_t opv, css_style *style, +css_error css__cascade_font_style(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_FONT_STYLE_INHERIT; @@ -35,7 +35,7 @@ css_error cascade_font_style(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_font_style(state->computed, value); } @@ -43,18 +43,18 @@ css_error cascade_font_style(uint32_t opv, css_style *style, return CSS_OK; } -css_error set_font_style_from_hint(const css_hint *hint, +css_error css__set_font_style_from_hint(const css_hint *hint, css_computed_style *style) { return set_font_style(style, hint->status); } -css_error initial_font_style(css_select_state *state) +css_error css__initial_font_style(css_select_state *state) { return set_font_style(state->computed, CSS_FONT_STYLE_NORMAL); } -css_error compose_font_style(const css_computed_style *parent, +css_error css__compose_font_style(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { |