diff options
Diffstat (limited to 'components/layout/table_caption.rs')
-rw-r--r-- | components/layout/table_caption.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/components/layout/table_caption.rs b/components/layout/table_caption.rs index 65493e2c24a..4864e49096a 100644 --- a/components/layout/table_caption.rs +++ b/components/layout/table_caption.rs @@ -10,9 +10,10 @@ use block::BlockFlow; use construct::FlowConstructor; use context::LayoutContext; use flow::{FlowClass, Flow}; -use fragment::FragmentBoundsIterator; +use fragment::FragmentOverflowIterator; use wrapper::ThreadSafeLayoutNode; +use geom::Rect; use servo_util::geometry::Au; use std::fmt; use style::ComputedValues; @@ -81,8 +82,12 @@ impl Flow for TableCaptionFlow { 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); } } |