mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Use correct specifier to pad font language override value
This commit is contained in:
parent
96a35767b6
commit
7fe110225b
Notes:
github-actions[bot]
2024-11-18 22:39:04 +00:00
Author: https://github.com/tcl3
Commit: 7fe110225b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2424
Reviewed-by: https://github.com/trflynn89
3 changed files with 12 additions and 1 deletions
|
@ -5777,7 +5777,7 @@ RefPtr<CSSStyleValue> Parser::parse_font_language_override_value(TokenStream<Com
|
|||
}
|
||||
transaction.commit();
|
||||
if (length < 4)
|
||||
return StringStyleValue::create(MUST(String::formatted("{<4}", string_value)));
|
||||
return StringStyleValue::create(MUST(String::formatted("{:<4}", string_value)));
|
||||
return string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue