mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-16 21:20:18 +00:00
LibWeb: Include z-index in transition: all
Gains us 37 WPT tests.
This commit is contained in:
parent
0209e502cf
commit
62176391dd
Notes:
github-actions[bot]
2025-09-11 05:09:09 +00:00
Author: https://github.com/Calme1709
Commit: 62176391dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6161
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 41 additions and 45 deletions
|
@ -1244,10 +1244,8 @@ static void compute_transitioned_properties(ComputedProperties const& style, DOM
|
|||
auto keyword = property_value->as_keyword().keyword();
|
||||
if (keyword == Keyword::None)
|
||||
continue;
|
||||
if (keyword == Keyword::All) {
|
||||
for (auto prop = first_property_id; prop != last_property_id; prop = static_cast<PropertyID>(to_underlying(prop) + 1))
|
||||
properties_for_this_transition.append(prop);
|
||||
}
|
||||
if (keyword == Keyword::All)
|
||||
properties_for_this_transition = expanded_longhands_for_shorthand(PropertyID::All);
|
||||
} else {
|
||||
auto maybe_property = property_id_from_string(property_value->as_custom_ident().custom_ident());
|
||||
if (!maybe_property.has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue