Skip to content

Commit ea7d6b4

Browse files
committed
preserve stacking nesting with special ancestor. issue niklasvh#256
1 parent fd4fd95 commit ea7d6b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _html2canvas.Renderer = function(parseQueue, options){
1313
isPositioned = node.zIndex.isPositioned,
1414
isFloated = node.zIndex.isFloated,
1515
stub = {node: node},
16-
childrenDest; // where children without z-index should be pushed into
16+
childrenDest = specialParent; // where children without z-index should be pushed into
1717

1818
if (!context[zi]) { context[zi] = []; }
1919
if (node.zIndex.ownStacking) {

0 commit comments

Comments
 (0)