summaryrefslogtreecommitdiff
path: root/src/select
diff options
context:
space:
mode:
Diffstat (limited to 'src/select')
-rw-r--r--src/select/computed.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index 6bf1344..11149c7 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -841,10 +841,8 @@ uint8_t css_computed_column_rule_color(const css_computed_style *style,
if (get_column_rule_color(style, color) ==
CSS_COLUMN_RULE_COLOR_CURRENT_COLOR) {
css_computed_color(style, color);
-
- return CSS_COLUMN_RULE_COLOR_COLOR;
}
- return get_column_rule_color(style, color);
+ return CSS_COLUMN_RULE_COLOR_COLOR;
}
uint8_t css_computed_column_rule_style(const css_computed_style *style)