diff options
Diffstat (limited to 'src/select/properties/font_size.c')
-rw-r--r-- | src/select/properties/font_size.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/font_size.c b/src/select/properties/font_size.c index 49c9130..8b52626 100644 --- a/src/select/properties/font_size.c +++ b/src/select/properties/font_size.c @@ -66,7 +66,7 @@ css_error cascade_font_size(uint32_t opv, css_style *style, if (outranks_existing(getOpcode(opv), isImportant(opv), state, isInherit(opv))) { - return set_font_size(state->result, value, size, unit); + return set_font_size(state->computed, value, size, unit); } return CSS_OK; @@ -81,7 +81,7 @@ css_error set_font_size_from_hint(const css_hint *hint, css_error initial_font_size(css_select_state *state) { - return set_font_size(state->result, CSS_FONT_SIZE_MEDIUM, + return set_font_size(state->computed, CSS_FONT_SIZE_MEDIUM, 0, CSS_UNIT_PX); } |