diff options
Diffstat (limited to 'components/layout/table_wrapper.rs')
-rw-r--r-- | components/layout/table_wrapper.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/components/layout/table_wrapper.rs b/components/layout/table_wrapper.rs index e3d6433a36f..fa8497c46d7 100644 --- a/components/layout/table_wrapper.rs +++ b/components/layout/table_wrapper.rs @@ -19,10 +19,11 @@ use context::LayoutContext; use floats::FloatKind; use flow::{FlowClass, Flow, ImmutableFlowUtils}; use flow::{IMPACTED_BY_LEFT_FLOATS, IMPACTED_BY_RIGHT_FLOATS}; -use fragment::{Fragment, FragmentBoundsIterator}; +use fragment::{Fragment, FragmentOverflowIterator}; use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize}; use wrapper::ThreadSafeLayoutNode; +use geom::Rect; use servo_util::geometry::Au; use std::cmp::{max, min}; use std::fmt; @@ -358,8 +359,12 @@ impl Flow for TableWrapperFlow { self.block_flow.repair_style(new_style) } - fn iterate_through_fragment_bounds(&self, iterator: &mut FragmentBoundsIterator) { - self.block_flow.iterate_through_fragment_bounds(iterator); + fn compute_overflow(&self) -> Rect<Au> { + self.block_flow.compute_overflow() + } + + fn iterate_through_fragment_overflow(&self, iterator: &mut FragmentOverflowIterator) { + self.block_flow.iterate_through_fragment_overflow(iterator); } } |