gfx: Print out stacking context info when dumping display lists.

This commit is contained in:
Patrick Walton 2015-04-30 16:45:57 -07:00
parent 1f0b5889da
commit 711993eb46
3 changed files with 33 additions and 22 deletions

View file

@ -229,7 +229,7 @@ impl InlineFragmentsAccumulator {
mut fragments,
enclosing_node,
} = self;
if let Some(enclosing_style) = enclosing_style {
if let Some(enclosing_node) = enclosing_node {
let frag_len = fragments.fragments.len();
for (idx, frag) in fragments.fragments.iter_mut().enumerate() {