mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
gfx: When dumping the display list, mention whether each layer scrolls
its overflow area.
This commit is contained in:
parent
1e884ddc69
commit
3518472f7c
1 changed files with 8 additions and 1 deletions
|
@ -725,8 +725,15 @@ impl fmt::Debug for StackingContext {
|
|||
"Pseudo-StackingContext"
|
||||
};
|
||||
|
||||
write!(f, "{} at {:?} with overflow {:?}: {:?}",
|
||||
let scrollable_string = if self.scrolls_overflow_area {
|
||||
" (scrolls overflow area)"
|
||||
} else {
|
||||
""
|
||||
};
|
||||
|
||||
write!(f, "{}{} at {:?} with overflow {:?}: {:?}",
|
||||
type_string,
|
||||
scrollable_string,
|
||||
self.bounds,
|
||||
self.overflow,
|
||||
self.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue