mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 01:48:11 +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:
|
case Type::Auto:
|
||||||
return "auto";
|
return "auto";
|
||||||
case Type::Percentage:
|
case Type::Percentage:
|
||||||
return "percentage";
|
return "%";
|
||||||
case Type::Undefined:
|
case Type::Undefined:
|
||||||
return "undefined";
|
return "undefined";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue