Layout: use Au in ContentSizes (#31135)

* use app_units

* resolve errors in table layout

* fmt

* add back current_line.min_content

* update expectation

* review fix
This commit is contained in:
atbrakhi 2024-01-23 11:18:39 +01:00 committed by GitHub
parent bd25c07b22
commit 45af1198aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 50 deletions

View file

@ -563,7 +563,8 @@ impl HoistedAbsolutelyPositionedBox {
cbis - anchor - pbm.padding_border_sums.inline - margin_sum;
non_replaced
.inline_content_sizes(layout_context)
.shrink_to_fit(available_size)
.shrink_to_fit(available_size.into())
.into()
});
// If the tentative used inline size is greater than max-inline-size,