layout: Add debug strings for float flows and boxes

This commit is contained in:
Patrick Walton 2013-11-13 11:19:18 +09:00
parent ce04996734
commit b67ec304de
3 changed files with 21 additions and 1 deletions

View file

@ -893,7 +893,7 @@ impl FlowContext for InlineFlow {
}
fn debug_str(&self) -> ~str {
~"InlineFlow"
~"InlineFlow: " + self.boxes.map(|s| s.debug_str()).connect(", ")
}
}