diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-05 00:44:04 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-05 00:44:04 +0000 |
commit | 4860bd14179e94a7d073714c1c5b21fd9c200dd7 (patch) | |
tree | d6343a55826ee6d6ae3801c0453dcce12a0e987e /src/select/properties/font_weight.c | |
parent | e094fcbc9fcf39fb2d71cd521e8076f4703fa100 (diff) | |
download | libcss-4860bd14179e94a7d073714c1c5b21fd9c200dd7.tar.gz libcss-4860bd14179e94a7d073714c1c5b21fd9c200dd7.tar.bz2 |
Simultaneously select styles for base + pseudo elements.
svn path=/trunk/libcss/; revision=11211
Diffstat (limited to 'src/select/properties/font_weight.c')
-rw-r--r-- | src/select/properties/font_weight.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/font_weight.c b/src/select/properties/font_weight.c index 4fc59e2..39bb473 100644 --- a/src/select/properties/font_weight.c +++ b/src/select/properties/font_weight.c @@ -67,7 +67,7 @@ css_error cascade_font_weight(uint32_t opv, css_style *style, if (outranks_existing(getOpcode(opv), isImportant(opv), state, isInherit(opv))) { - return set_font_weight(state->result, value); + return set_font_weight(state->computed, value); } return CSS_OK; @@ -81,7 +81,7 @@ css_error set_font_weight_from_hint(const css_hint *hint, css_error initial_font_weight(css_select_state *state) { - return set_font_weight(state->result, CSS_FONT_WEIGHT_NORMAL); + return set_font_weight(state->computed, CSS_FONT_WEIGHT_NORMAL); } css_error compose_font_weight(const css_computed_style *parent, |