diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-08-15 20:15:58 +0100 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2022-08-29 13:49:20 +0100 |
commit | 166581e23cb6e1e6279f450635cd16a12f8b0ef2 (patch) | |
tree | 957ce75e15a34e4cd090dc489bd18b8c95b140a3 /src/select/properties/play_during.c | |
parent | 2504bb6f6414ae36c036a84d21f7821178dc58ee (diff) | |
download | libcss-166581e23cb6e1e6279f450635cd16a12f8b0ef2.tar.gz |
Select: Make inherit flag handling aware of other default values
Diffstat (limited to 'src/select/properties/play_during.c')
-rw-r--r-- | src/select/properties/play_during.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/play_during.c b/src/select/properties/play_during.c index 413d75a..d397b82 100644 --- a/src/select/properties/play_during.c +++ b/src/select/properties/play_during.c @@ -19,7 +19,7 @@ css_error css__cascade_play_during(uint32_t opv, css_style *style, { lwc_string *uri = NULL; - if (isInherit(opv) == false) { + if (hasFlagValue(opv) == false) { switch (getValue(opv)) { case PLAY_DURING_URI: css__stylesheet_string_get(style->sheet, *((css_code_t *) style->bytecode), &uri); @@ -35,7 +35,7 @@ css_error css__cascade_play_during(uint32_t opv, css_style *style, } if (css__outranks_existing(getOpcode(opv), isImportant(opv), state, - isInherit(opv))) { + getFlagValue(opv))) { /** \todo play-during */ } |