mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 05:29:56 +00:00
LibWeb/CSS: Replace resolve_percentage_deprecated() with undeprecated
This commit is contained in:
parent
0dba531772
commit
995b7eb7b4
Notes:
github-actions[bot]
2025-09-24 15:36:24 +00:00
Author: https://github.com/AtkinsSJ
Commit: 995b7eb7b4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6290
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 4 additions and 13 deletions
|
@ -64,7 +64,7 @@ ParsedFontFace ParsedFontFace::from_descriptors(CSSFontFaceDescriptors const& de
|
|||
return value.as_percentage().percentage();
|
||||
if (value.is_calculated()) {
|
||||
// FIXME: These should probably be simplified already?
|
||||
return value.as_calculated().resolve_percentage_deprecated({});
|
||||
return value.as_calculated().resolve_percentage({});
|
||||
}
|
||||
if (value.to_keyword() == Keyword::Normal)
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue