Use tree order when z-index is the same

This commit is contained in:
Niklas von Hertzen
2017-08-09 11:52:42 +08:00
parent ed92d2354c
commit 77393074ba
36 changed files with 392 additions and 337 deletions

View File

@@ -40,7 +40,9 @@ var REFTEST = window.location.search.indexOf('reftest') !== -1;
promise.then(function(output) {
var canvas = Array.isArray(targets) ? output[0] : output;
if (Array.isArray(targets)) {
console.log(output[1]);
console.log(output[1].split('\n').map(function(line, i) {
return (i + 1) + ':' + line;
}).join('\n'));
}
var $canvas = $(canvas),
finishTime = new Date();