Fix render ordering of nodes that form fake stacking contexts

This commit is contained in:
MoyuScript
2014-02-15 00:33:09 +02:00
parent db437f8950
commit ddc81fe697
5 changed files with 128 additions and 88 deletions

View File

@ -12,7 +12,12 @@
timer = date.getTime();
options = options || {};
html2canvas(this, options).then(function(canvas) {
var promise = html2canvas(this, options);
promise.catch(function(err) {
console.log("html2canvas threw an error", err);
});
promise.then(function(canvas) {
var $canvas = $(canvas),
finishTime = new Date();