mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
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:
parent
bd25c07b22
commit
45af1198aa
8 changed files with 60 additions and 50 deletions
|
@ -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’,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue