We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parse_coordinating_value_list_shorthand
1 parent 51f694c commit d6371feCopy full SHA for d6371fe
Libraries/LibWeb/CSS/Parser/PropertyParsing.cpp
@@ -126,12 +126,7 @@ RefPtr<StyleValue const> Parser::parse_coordinating_value_list_shorthand(TokenSt
126
127
for (auto const& longhand_id : longhand_ids)
128
longhand_vectors.ensure(longhand_id).append(*parsed_values.get(longhand_id).value_or_lazy_evaluated([&]() -> ValueComparingNonnullRefPtr<StyleValue const> {
129
- auto initial_value = property_initial_value(longhand_id);
130
-
131
- if (initial_value->is_value_list())
132
- return initial_value->as_value_list().values()[0];
133
134
- return initial_value;
+ return property_initial_value(longhand_id)->as_value_list().values()[0];
135
}));
136
137
if (tokens.has_next_token()) {
0 commit comments