From 166581e23cb6e1e6279f450635cd16a12f8b0ef2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 15 Aug 2022 20:15:58 +0100 Subject: Select: Make inherit flag handling aware of other default values --- src/select/properties/quotes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/select/properties/quotes.c') diff --git a/src/select/properties/quotes.c b/src/select/properties/quotes.c index 4144d8e..9152f84 100644 --- a/src/select/properties/quotes.c +++ b/src/select/properties/quotes.c @@ -21,7 +21,7 @@ css_error css__cascade_quotes(uint32_t opv, css_style *style, lwc_string **quotes = NULL; uint32_t n_quotes = 0; - if (isInherit(opv) == false) { + if (hasFlagValue(opv) == false) { uint32_t v = getValue(opv); value = CSS_QUOTES_STRING; @@ -75,7 +75,7 @@ css_error css__cascade_quotes(uint32_t opv, css_style *style, } if (css__outranks_existing(getOpcode(opv), isImportant(opv), state, - isInherit(opv))) { + getFlagValue(opv))) { css_error error; error = set_quotes(state->computed, value, quotes); -- cgit v1.2.3