aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/css
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/css')
-rw-r--r--src/libserver/css/css_rule.cxx3
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());