summaryrefslogtreecommitdiff
path: root/src/select/properties/font_size.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/font_size.c')
-rw-r--r--src/select/properties/font_size.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/select/properties/font_size.c b/src/select/properties/font_size.c
index 3fbe9ea..65fbb94 100644
--- a/src/select/properties/font_size.c
+++ b/src/select/properties/font_size.c
@@ -14,7 +14,7 @@
#include "select/properties/properties.h"
#include "select/properties/helpers.h"
-css_error cascade_font_size(uint32_t opv, css_style *style,
+css_error css__cascade_font_size(uint32_t opv, css_style *style,
css_select_state *state)
{
uint16_t value = CSS_FONT_SIZE_INHERIT;
@@ -62,9 +62,9 @@ css_error cascade_font_size(uint32_t opv, css_style *style,
}
}
- unit = to_css_unit(unit);
+ unit = css__to_css_unit(unit);
- if (outranks_existing(getOpcode(opv), isImportant(opv), state,
+ if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
isInherit(opv))) {
return set_font_size(state->computed, value, size, unit);
}
@@ -72,20 +72,20 @@ css_error cascade_font_size(uint32_t opv, css_style *style,
return CSS_OK;
}
-css_error set_font_size_from_hint(const css_hint *hint,
+css_error css__set_font_size_from_hint(const css_hint *hint,
css_computed_style *style)
{
return set_font_size(style, hint->status,
hint->data.length.value, hint->data.length.unit);
}
-css_error initial_font_size(css_select_state *state)
+css_error css__initial_font_size(css_select_state *state)
{
return set_font_size(state->computed, CSS_FONT_SIZE_MEDIUM,
0, CSS_UNIT_PX);
}
-css_error compose_font_size(const css_computed_style *parent,
+css_error css__compose_font_size(const css_computed_style *parent,
const css_computed_style *child,
css_computed_style *result)
{