aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2015-09-09 12:22:56 -0700
committerMichael Howell <michael@notriddle.com>2015-09-09 12:24:28 -0700
commit029af815707333266e7192241b74bef0e129cf27 (patch)
tree87a6fd2352e611ed79bd2df1e7c7ead6bee89fb0 /components/layout/flow.rs
parent0d37e8f96b7f40d14bf4fbb0b66e42a01302a336 (diff)
downloadservo-029af815707333266e7192241b74bef0e129cf27.tar.gz
servo-029af815707333266e7192241b74bef0e129cf27.zip
Actually store the overflow for inline-block elements.
Fixes #7571
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index 8629881d8e0..86101a415b0 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -953,10 +953,11 @@ unsafe impl Sync for BaseFlow {}
impl fmt::Debug for BaseFlow {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f,
- "@ {:?}, CC {}, ADC {}",
+ "@ {:?}, CC {}, ADC {}, Ovr {:?}",
self.position,
self.parallel.children_count.load(Ordering::SeqCst),
- self.abs_descendants.len())
+ self.abs_descendants.len(),
+ self.overflow)
}
}