1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

LibWeb: Replace ListStyleStyleValue with ShorthandStyleValue

This commit is contained in:
Sam Atkins 2023-09-20 14:58:52 +01:00 committed by Sam Atkins
parent f5cb2e8dc2
commit 6758decc74
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;