diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-06 13:55:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-06 13:55:34 +0100 |
commit | 547fefa3664eee4839552757a6b3810444127671 (patch) | |
tree | 9ecec5d82552cfce6835b62499ee002d4adf76b6 /src/libserver/css | |
parent | 070b57bd415d0e4df3d7d311bcce0ce841505b9b (diff) | |
download | rspamd-547fefa3664eee4839552757a6b3810444127671.tar.gz rspamd-547fefa3664eee4839552757a6b3810444127671.zip |
[Fix] Fix visibility calculations
Diffstat (limited to 'src/libserver/css')
-rw-r--r-- | src/libserver/css/css_rule.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/css/css_rule.cxx b/src/libserver/css/css_rule.cxx index d8c3a04dd..17301e724 100644 --- a/src/libserver/css/css_rule.cxx +++ b/src/libserver/css/css_rule.cxx @@ -413,7 +413,8 @@ css_declarations_block::compile_to_block(rspamd_mempool_t *pool) const -> rspamd opacity = vals.back().to_number().value_or(opacity); break; } - case css_property_type::PROPERTY_FONT_COLOR: { + case css_property_type::PROPERTY_FONT_COLOR: + case css_property_type::PROPERTY_COLOR: { auto color = vals.back().to_color(); if (color) { block->set_fgcolor(color.value()); |