preserve stacking nesting with special ancestor. issue #256

This commit is contained in:
MoyuScript 2013-08-15 02:12:38 +08:00
parent f573663e80
commit 9cace5316f

View File

@ -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) {