Initialize block_container_inline_size for non-block root flows

Fixes #14948.
This commit is contained in:
Matt Brubeck 2017-01-27 10:56:00 -08:00
parent bd72da5f02
commit 39826f817e
8 changed files with 137 additions and 6 deletions

View file

@ -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;