mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +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:
parent
d20254f1bc
commit
a72788b889
Notes:
sideshowbarker
2024-07-18 08:59:31 +09:00
Author: https://github.com/AtkinsSJ
Commit: a72788b889
Pull-request: https://github.com/SerenityOS/serenity/pull/21159
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ static void set_property_expanding_shorthands(StyleProperties& style, CSS::Prope
|
||||||
auto& values = shorthand_value.values();
|
auto& values = shorthand_value.values();
|
||||||
for (size_t i = 0; i < properties.size(); ++i)
|
for (size_t i = 0; i < properties.size(); ++i)
|
||||||
set_property_expanding_shorthands(style, properties[i], values[i], document, declaration, properties_for_revert);
|
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) {
|
auto assign_edge_values = [&](PropertyID top_property, PropertyID right_property, PropertyID bottom_property, PropertyID left_property, auto const& values) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue