mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Initialize block_container_inline_size for non-block root flows
Fixes #14948.
This commit is contained in:
parent
bd72da5f02
commit
39826f817e
8 changed files with 137 additions and 6 deletions
|
@ -868,6 +868,8 @@ impl Flow for FlexFlow {
|
|||
return
|
||||
}
|
||||
|
||||
self.block_flow.initialize_container_size_for_root(shared_context);
|
||||
|
||||
// Our inline-size was set to the inline-size of the containing block by the flow's parent.
|
||||
// Now compute the real value.
|
||||
let containing_block_inline_size = self.block_flow.base.block_container_inline_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue