From 9cace5316f3392406289a8c415808fbdfeac80b1 Mon Sep 17 00:00:00 2001 From: MoyuScript Date: Thu, 15 Aug 2013 02:12:38 +0800 Subject: [PATCH] preserve stacking nesting with special ancestor. issue #256 --- src/Renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer.js b/src/Renderer.js index d516229..d1c650e 100644 --- a/src/Renderer.js +++ b/src/Renderer.js @@ -13,7 +13,7 @@ _html2canvas.Renderer = function(parseQueue, options){ isPositioned = node.zIndex.isPositioned, isFloated = node.zIndex.isFloated, stub = {node: node}, - childrenDest; // where children without z-index should be pushed into + childrenDest = specialParent; // where children without z-index should be pushed into if (!context[zi]) { context[zi] = []; } if (node.zIndex.ownStacking) {