diff options
-rw-r--r-- | components/gfx/display_list/mod.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/components/gfx/display_list/mod.rs b/components/gfx/display_list/mod.rs index 2a132cf7f61..16ac9a29ea7 100644 --- a/components/gfx/display_list/mod.rs +++ b/components/gfx/display_list/mod.rs @@ -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) |