diff options
Diffstat (limited to 'src/select/properties/text_decoration.c')
-rw-r--r-- | src/select/properties/text_decoration.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/text_decoration.c b/src/select/properties/text_decoration.c index e8f976e..7f5a172 100644 --- a/src/select/properties/text_decoration.c +++ b/src/select/properties/text_decoration.c @@ -16,7 +16,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_text_decoration(uint32_t opv, css_style *style, +css_error css__cascade_text_decoration(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_TEXT_DECORATION_INHERIT; @@ -40,7 +40,7 @@ css_error cascade_text_decoration(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_text_decoration(state->computed, value); } @@ -48,18 +48,18 @@ css_error cascade_text_decoration(uint32_t opv, css_style *style, return CSS_OK; } -css_error set_text_decoration_from_hint(const css_hint *hint, +css_error css__set_text_decoration_from_hint(const css_hint *hint, css_computed_style *style) { return set_text_decoration(style, hint->status); } -css_error initial_text_decoration(css_select_state *state) +css_error css__initial_text_decoration(css_select_state *state) { return set_text_decoration(state->computed, CSS_TEXT_DECORATION_NONE); } -css_error compose_text_decoration(const css_computed_style *parent, +css_error css__compose_text_decoration(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { |