mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Fix panic when html element has display: table.
This commit is contained in:
parent
e458dca65b
commit
7dbffeed20
5 changed files with 24 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue