mirror of
https://github.com/servo/servo.git
synced 2025-07-19 13:23:46 +01:00
layout: Include float information in flows' debug output.
This commit is contained in:
parent
9e1935c2ed
commit
0198a9dda8
1 changed files with 3 additions and 1 deletions
|
@ -980,9 +980,11 @@ impl fmt::Debug for BaseFlow {
|
|||
};
|
||||
|
||||
write!(f,
|
||||
"sc={:?} pos={:?}, floatspec-in={:?}, floatspec-out={:?}, overflow={:?}{}{}{}",
|
||||
"sc={:?} pos={:?}, {}{} floatspec-in={:?}, floatspec-out={:?}, overflow={:?}{}{}{}",
|
||||
self.stacking_context_id,
|
||||
self.position,
|
||||
if self.flags.contains(FLOATS_LEFT) { "FL" } else { "" },
|
||||
if self.flags.contains(FLOATS_RIGHT) { "FR" } else { "" },
|
||||
self.speculated_float_placement_in,
|
||||
self.speculated_float_placement_out,
|
||||
self.overflow,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue