Minor cleanup for Size after #33844 (#33861)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-10-16 15:53:46 +02:00 committed by GitHub
parent 2e0fbfcb95
commit 5148b444be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 11 deletions

View file

@ -2002,7 +2002,7 @@ impl IndependentFormattingContext {
// https://drafts.csswg.org/css2/visudet.html#float-width
// https://drafts.csswg.org/css2/visudet.html#inlineblock-width
let tentative_inline_size = box_size.inline.resolve(
Size::fit_content,
Size::FitContent,
available_inline_size,
&mut get_content_size,
);