Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-01 00:45:38 +01:00 committed by Martin Robinson
parent 18b9e1b615
commit 7ce706f891
7 changed files with 13 additions and 9 deletions

View file

@ -111,9 +111,13 @@ impl Flow for MulticolFlow {
NonNegativeLengthPercentageOrNormal::LengthPercentage(ref len) => {
len.0.to_pixel_length(content_inline_size)
},
NonNegativeLengthPercentageOrNormal::Normal => {
self.block_flow.fragment.style.get_font().font_size.size()
},
NonNegativeLengthPercentageOrNormal::Normal => self
.block_flow
.fragment
.style
.get_font()
.font_size
.computed_size(),
});
let column_style = style.get_column();