mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -273,6 +273,14 @@ impl Flow for TableWrapperFlow {
|
|||
&mut self.block_flow
|
||||
}
|
||||
|
||||
fn as_immutable_block<'a>(&'a self) -> &'a BlockFlow {
|
||||
&self.block_flow
|
||||
}
|
||||
|
||||
fn mark_as_root(&mut self) {
|
||||
self.block_flow.mark_as_root();
|
||||
}
|
||||
|
||||
fn bubble_inline_sizes(&mut self) {
|
||||
// Get the intrinsic column inline-sizes info from the table flow.
|
||||
for kid in self.block_flow.base.child_iter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue