1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

LibWeb: Add several computed CSS styles

These are mostly combined styles such as background, as well as handling
the Invalid and Custom property IDs (which both make no sense).
This commit is contained in:
kleines Filmröllchen 2021-09-14 00:38:46 +02:00 committed by Andreas Kling
parent 6865a5a447
commit 047c013be0
2 changed files with 69 additions and 5 deletions

View file

@ -689,7 +689,7 @@ public:
virtual String to_string() const override
{
return String::formatted("Background color: {}, image: {}, repeat: {}/{}", m_color->to_string(), m_image->to_string(), m_repeat_x->to_string(), m_repeat_y->to_string());
return String::formatted("{} {} {} {}", m_color->to_string(), m_image->to_string(), m_repeat_x->to_string(), m_repeat_y->to_string());
}
private: