mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-17 05:12:58 +00:00
LibWeb: Serialize Length::Type::Percentage with a "%" suffix
"10 percentage" looked rather silly. :^)
This commit is contained in:
parent
f650f18bd2
commit
afebbd1cd7
|
@ -54,7 +54,7 @@ const char* Length::unit_name() const
|
|||
case Type::Auto:
|
||||
return "auto";
|
||||
case Type::Percentage:
|
||||
return "percentage";
|
||||
return "%";
|
||||
case Type::Undefined:
|
||||
return "undefined";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue