diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2016-02-03 10:51:41 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2016-02-03 16:06:24 -0800 |
commit | 7c5b2d6cb3ee4f934e529162be368c36a7f590a4 (patch) | |
tree | f4210b9657dd5652aba454d73eb6d72271fed5f9 /components/layout/table_caption.rs | |
parent | f605c6aa69e34fcd5734350759969bfac2098952 (diff) | |
download | servo-7c5b2d6cb3ee4f934e529162be368c36a7f590a4.tar.gz servo-7c5b2d6cb3ee4f934e529162be368c36a7f590a4.zip |
layout: Separate out overflow-for-scrolling from overflow-for-paint.
Closes #9484.
Diffstat (limited to 'components/layout/table_caption.rs')
-rw-r--r-- | components/layout/table_caption.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/table_caption.rs b/components/layout/table_caption.rs index 287c1c617e1..1b764360201 100644 --- a/components/layout/table_caption.rs +++ b/components/layout/table_caption.rs @@ -9,9 +9,9 @@ use app_units::Au; use block::BlockFlow; use context::LayoutContext; -use euclid::{Point2D, Rect}; +use euclid::Point2D; use flow::{Flow, FlowClass, OpaqueFlow}; -use fragment::{Fragment, FragmentBorderBoxIterator}; +use fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; use std::fmt; use std::sync::Arc; use style::properties::ComputedValues; @@ -83,7 +83,7 @@ impl Flow for TableCaptionFlow { self.block_flow.repair_style(new_style) } - fn compute_overflow(&self) -> Rect<Au> { + fn compute_overflow(&self) -> Overflow { self.block_flow.compute_overflow() } |