diff options
Diffstat (limited to 'src/select/properties/text_decoration.c')
-rw-r--r-- | src/select/properties/text_decoration.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/text_decoration.c b/src/select/properties/text_decoration.c index 0e7544d..759009c 100644 --- a/src/select/properties/text_decoration.c +++ b/src/select/properties/text_decoration.c @@ -23,7 +23,7 @@ css_error css__cascade_text_decoration(uint32_t opv, css_style *style, UNUSED(style); - if (isInherit(opv) == false) { + if (hasFlagValue(opv) == false) { if (getValue(opv) == TEXT_DECORATION_NONE) { value = CSS_TEXT_DECORATION_NONE; } else { @@ -41,7 +41,7 @@ css_error css__cascade_text_decoration(uint32_t opv, css_style *style, } if (css__outranks_existing(getOpcode(opv), isImportant(opv), state, - isInherit(opv))) { + getFlagValue(opv))) { return set_text_decoration(state->computed, value); } |