preserve stacking nesting with special ancestor. issue #256

This commit is contained in:
arrix 2013-08-15 02:12:38 +08:00
parent fd4fd95429
commit ea7d6b485d

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