mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
preserve stacking nesting with special ancestor. issue #256
This commit is contained in:
parent
fd4fd95429
commit
ea7d6b485d
@ -13,7 +13,7 @@ _html2canvas.Renderer = function(parseQueue, options){
|
|||||||
isPositioned = node.zIndex.isPositioned,
|
isPositioned = node.zIndex.isPositioned,
|
||||||
isFloated = node.zIndex.isFloated,
|
isFloated = node.zIndex.isFloated,
|
||||||
stub = {node: node},
|
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 (!context[zi]) { context[zi] = []; }
|
||||||
if (node.zIndex.ownStacking) {
|
if (node.zIndex.ownStacking) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user