summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Length.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Length.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Length.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Length.h b/Userland/Libraries/LibWeb/CSS/Length.h
index 615d8cb4a8..f328263427 100644
--- a/Userland/Libraries/LibWeb/CSS/Length.h
+++ b/Userland/Libraries/LibWeb/CSS/Length.h
@@ -141,8 +141,8 @@ public:
String to_string() const
{
if (is_auto())
- return "[auto]";
- return String::formatted("[{} {}]", m_value, unit_name());
+ return "auto";
+ return String::formatted("{}{}", m_value, unit_name());
}
bool operator==(const Length& other) const