Fix panic when html element has display: table.

This commit is contained in:
Glenn Watson 2015-07-31 16:40:06 +10:00
parent e458dca65b
commit 7dbffeed20
5 changed files with 24 additions and 1 deletions

View file

@ -74,6 +74,10 @@ impl Flow for ListItemFlow {
&mut self.block_flow
}
fn as_immutable_block<'a>(&'a self) -> &'a BlockFlow {
&self.block_flow
}
fn bubble_inline_sizes(&mut self) {
// The marker contributes no intrinsic inline-size, so…
self.block_flow.bubble_inline_sizes()