mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
LibWeb: Serialize Length::Type::Percentage with a "%" suffix
"10 percentage" looked rather silly. :^)
This commit is contained in:
parent
f650f18bd2
commit
afebbd1cd7
Notes:
sideshowbarker
2024-07-19 05:23:21 +09:00
Author: https://github.com/awesomekling
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