LibWeb/CSS: Add missing commas to rect() serialization

Gets us 1 WPT subtest pass.
This commit is contained in:
Sam Atkins 2024-11-28 15:50:38 +00:00 committed by Andreas Kling
commit 8cdb8ca193
Notes: github-actions[bot] 2024-11-30 10:03:24 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ ValueComparingNonnullRefPtr<RectStyleValue> RectStyleValue::create(EdgeRect rect
String RectStyleValue::to_string() const
{
return MUST(String::formatted("rect({} {} {} {})", m_rect.top_edge, m_rect.right_edge, m_rect.bottom_edge, m_rect.left_edge));
return MUST(String::formatted("rect({}, {}, {}, {})", m_rect.top_edge, m_rect.right_edge, m_rect.bottom_edge, m_rect.left_edge));
}
}