File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -2807,16 +2807,12 @@ static CSSPixels snap_a_length_as_a_border_width(double device_pixels_per_css_pi
28072807
28082808static NonnullRefPtr<StyleValue const > compute_style_value_list (NonnullRefPtr<StyleValue const > const & style_value, Function<NonnullRefPtr<StyleValue const >(NonnullRefPtr<StyleValue const > const &)> const & compute_entry)
28092809{
2810- if (style_value->is_value_list ()) {
2811- StyleValueVector computed_entries;
2810+ StyleValueVector computed_entries;
28122811
2813- for (auto const & entry : style_value->as_value_list ().values ())
2814- computed_entries.append (compute_entry (entry));
2812+ for (auto const & entry : style_value->as_value_list ().values ())
2813+ computed_entries.append (compute_entry (entry));
28152814
2816- return StyleValueList::create (move (computed_entries), StyleValueList::Separator::Comma);
2817- }
2818-
2819- return compute_entry (style_value);
2815+ return StyleValueList::create (move (computed_entries), StyleValueList::Separator::Comma);
28202816}
28212817
28222818NonnullRefPtr<StyleValue const > StyleComputer::compute_value_of_property (
You can’t perform that action at this time.
0 commit comments