mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: make padding
and border
use Au
in pbm
(#31289)
* use au for padding and border in pbm * review fix
This commit is contained in:
parent
f25fe3539a
commit
8ba251c95f
10 changed files with 168 additions and 128 deletions
|
@ -202,8 +202,8 @@ impl<'a> TableLayout<'a> {
|
|||
let percentage_contribution =
|
||||
Percentage(inline_size_percent.0.min(max_inline_size_percent.0));
|
||||
|
||||
outer_min_content_width += pbm.padding_border_sums.inline.into();
|
||||
outer_max_content_width += pbm.padding_border_sums.inline.into();
|
||||
outer_min_content_width += pbm.padding_border_sums.inline;
|
||||
outer_max_content_width += pbm.padding_border_sums.inline;
|
||||
row_measures[column_index] = CellOrColumnMeasure {
|
||||
content_sizes: ContentSizes {
|
||||
min_content: outer_min_content_width,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue