1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 03:47:34 +00:00

LibWeb: Return after expanding ShorthandStyleValues

We don't want to carry on doing things after we've handled these.
This commit is contained in:
Sam Atkins 2023-09-19 14:46:24 +01:00 committed by Sam Atkins
parent d20254f1bc
commit a72788b889

View file

@ -448,6 +448,7 @@ static void set_property_expanding_shorthands(StyleProperties& style, CSS::Prope
auto& values = shorthand_value.values();
for (size_t i = 0; i < properties.size(); ++i)
set_property_expanding_shorthands(style, properties[i], values[i], document, declaration, properties_for_revert);
return;
}
auto assign_edge_values = [&](PropertyID top_property, PropertyID right_property, PropertyID bottom_property, PropertyID left_property, auto const& values) {