From 2ffdfbd0462ed2360b71ba141c5419a3319400ef Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 24 Oct 2016 18:12:16 -0700 Subject: [PATCH] layout: Implement `TableWrapper::positioning()`. The base `Flow` implementation returns the incorrect value. --- components/layout/table_wrapper.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index e57eef4d083..fd01546774d 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -477,6 +477,10 @@ impl Flow for TableWrapperFlow { fn print_extra_flow_children(&self, print_tree: &mut PrintTree) { self.block_flow.print_extra_flow_children(print_tree); } + + fn positioning(&self) -> position::T { + self.block_flow.positioning() + } } impl fmt::Debug for TableWrapperFlow {