LibWeb: Replace ListStyleStyleValue with ShorthandStyleValue

This commit is contained in:
Sam Atkins 2023-09-20 14:58:52 +01:00 committed by Sam Atkins
commit 6758decc74
Notes: sideshowbarker 2024-07-17 08:45:34 +09:00
10 changed files with 5 additions and 88 deletions

View file

@ -145,6 +145,8 @@ String ShorthandStyleValue::to_string() const
return MUST(String::formatted("{}", construct_rows_string()));
return MUST(String::formatted("{} / {}", construct_rows_string(), columns.grid_track_size_list().to_string()));
}
case PropertyID::ListStyle:
return MUST(String::formatted("{} {} {}", longhand(PropertyID::ListStylePosition)->to_string(), longhand(PropertyID::ListStyleImage)->to_string(), longhand(PropertyID::ListStyleType)->to_string()));
default:
StringBuilder builder;
auto first = true;