LibWeb: Serialize transition as a coordinating list shorthand

This commit is contained in:
Callum Law 2025-10-19 15:19:36 +13:00 committed by Sam Atkins
parent 2e6988d681
commit bb7d5747e7
Notes: github-actions[bot] 2025-10-23 09:11:18 +00:00
4 changed files with 15 additions and 14 deletions

View file

@ -838,6 +838,8 @@ String ShorthandStyleValue::to_string(SerializationMode mode) const
return builder.to_string_without_validation();
}
case PropertyID::Transition:
return coordinating_value_list_shorthand_to_string("all"sv);
case PropertyID::WhiteSpace: {
auto white_space_collapse_property = longhand(PropertyID::WhiteSpaceCollapse);
auto text_wrap_mode_property = longhand(PropertyID::TextWrapMode);