summaryrefslogtreecommitdiff
path: root/src/select/properties/background_attachment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/background_attachment.c')
-rw-r--r--src/select/properties/background_attachment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/background_attachment.c b/src/select/properties/background_attachment.c
index 834c830..7e59557 100644
--- a/src/select/properties/background_attachment.c
+++ b/src/select/properties/background_attachment.c
@@ -21,7 +21,7 @@ css_error css__cascade_background_attachment(uint32_t opv, css_style *style,
UNUSED(style);
- if (isInherit(opv) == false) {
+ if (hasFlagValue(opv) == false) {
switch (getValue(opv)) {
case BACKGROUND_ATTACHMENT_FIXED:
value = CSS_BACKGROUND_ATTACHMENT_FIXED;
@@ -33,7 +33,7 @@ css_error css__cascade_background_attachment(uint32_t opv, css_style *style,
}
if (css__outranks_existing(getOpcode(opv), isImportant(opv), state,
- isInherit(opv))) {
+ getFlagValue(opv))) {
return set_background_attachment(state->computed, value);
}