mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:35:09 +00:00
LibWeb: Serialize Length::Type::Percentage with a "%" suffix
"10 percentage" looked rather silly. :^)
This commit is contained in:
parent
f650f18bd2
commit
afebbd1cd7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue