mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +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
Notes:
sideshowbarker
2024-07-18 03:57:45 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 047c013be0
Pull-request: https://github.com/SerenityOS/serenity/pull/10023
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/awesomekling
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