mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03: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: https://github.com/SerenityOS/serenity/commit/afebbd1cd75
@ -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 New Issue
Block a user