summaryrefslogtreecommitdiff
path: root/src/select/properties/font_style.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/font_style.c')
-rw-r--r--src/select/properties/font_style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/font_style.c b/src/select/properties/font_style.c
index 0ba1fdd..6c240ec 100644
--- a/src/select/properties/font_style.c
+++ b/src/select/properties/font_style.c
@@ -21,7 +21,7 @@ css_error css__cascade_font_style(uint32_t opv, css_style *style,
UNUSED(style);
- if (isInherit(opv) == false) {
+ if (hasFlagValue(opv) == false) {
switch (getValue(opv)) {
case FONT_STYLE_NORMAL:
value = CSS_FONT_STYLE_NORMAL;
@@ -36,7 +36,7 @@ css_error css__cascade_font_style(uint32_t opv, css_style *style,
}
if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
- isInherit(opv))) {
+ getFlagValue(opv))) {
return set_font_style(state->computed, value);
}