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:
parent
6865a5a447
commit
047c013be0
2 changed files with 69 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue