1
Fork 0
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:
Andreas Kling 2019-10-03 16:11:46 +02:00
parent 84ec286060
commit c51366b22c

View file

@ -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: