mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Servo build fixes.
This commit is contained in:
parent
c1c2b746c8
commit
7d30a7da75
18 changed files with 118 additions and 117 deletions
|
@ -102,14 +102,14 @@ impl Flow for MulticolFlow {
|
|||
let column_width;
|
||||
{
|
||||
let style = &self.block_flow.fragment.style;
|
||||
let column_gap = match style.get_position().column_gap {
|
||||
NonNegativeLengthPercentageOrNormal::LengthPercentage(len) => {
|
||||
len.0.to_pixel_length(content_inline_size).into()
|
||||
let column_gap = Au::from(match style.get_position().column_gap {
|
||||
NonNegativeLengthPercentageOrNormal::LengthPercentage(ref len) => {
|
||||
len.0.to_pixel_length(content_inline_size)
|
||||
},
|
||||
NonNegativeLengthPercentageOrNormal::Normal => {
|
||||
self.block_flow.fragment.style.get_font().font_size.size()
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
let column_style = style.get_column();
|
||||
let mut column_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue