mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibHTML: Prettify ColorStyleValue::to_string() a little bit
I don't know why I made this say "COLOR: #rrggbbaa" when it can also just say "#rrggbbaa" :^)
This commit is contained in:
parent
84ec286060
commit
c51366b22c
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public:
|
|||
virtual ~ColorStyleValue() override {}
|
||||
|
||||
Color color() const { return m_color; }
|
||||
String to_string() const override { return String::format("COLOR: %s", m_color.to_string().characters()); }
|
||||
String to_string() const override { return m_color.to_string(); }
|
||||
Color to_color() const override { return m_color; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue