mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Remove animations from reftests
This commit is contained in:
parent
77393074ba
commit
edebe082f3
@ -82,7 +82,12 @@ export default class NodeContainer {
|
|||||||
image: ?string;
|
image: ?string;
|
||||||
index: number;
|
index: number;
|
||||||
|
|
||||||
constructor(node: HTMLElement, parent: ?NodeContainer, imageLoader: ImageLoader, index: number) {
|
constructor(
|
||||||
|
node: HTMLElement,
|
||||||
|
parent: ?NodeContainer,
|
||||||
|
imageLoader: ImageLoader,
|
||||||
|
index: number
|
||||||
|
) {
|
||||||
this.parent = parent;
|
this.parent = parent;
|
||||||
this.index = index;
|
this.index = index;
|
||||||
this.childNodes = [];
|
this.childNodes = [];
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<ul class="fa-ul">
|
<ul class="fa-ul">
|
||||||
<li><i class="fa-li fa fa-check-square"></i>List icons</li>
|
<li><i class="fa-li fa fa-check-square"></i>List icons</li>
|
||||||
<li><i class="fa-li fa fa-check-square"></i>can be used</li>
|
<li><i class="fa-li fa fa-check-square"></i>can be used</li>
|
||||||
<li><i class="fa-li fa fa-spinner fa-spin"></i>as bullets</li>
|
<li><i class="fa-li fa fa-spinner"></i>as bullets</li>
|
||||||
<li><i class="fa-li fa fa-square"></i>in lists</li>
|
<li><i class="fa-li fa fa-square"></i>in lists</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -62,9 +62,8 @@ Text: rgb(0,0,0) normal normal 400 16px FontAwesome
|
|||||||
Text: rgb(0,0,0) normal normal 400 16px Arial
|
Text: rgb(0,0,0) normal normal 400 16px Arial
|
||||||
[42, 176]: as
|
[42, 176]: as
|
||||||
[63, 176]: bullets
|
[63, 176]: bullets
|
||||||
Transform: (24, 182) [0.97, 0.26, -0.26, 0.97, 0, 0]
|
Text: rgb(0,0,0) normal normal 400 16px FontAwesome
|
||||||
Text: rgb(0,0,0) normal normal 400 16px FontAwesome
|
[18, 178]:
|
||||||
[16, 177]:
|
|
||||||
Text: rgb(0,0,0) normal normal 400 16px Arial
|
Text: rgb(0,0,0) normal normal 400 16px Arial
|
||||||
[42, 194]: in
|
[42, 194]: in
|
||||||
[59, 194]: lists
|
[59, 194]: lists
|
||||||
|
@ -40,9 +40,14 @@ var REFTEST = window.location.search.indexOf('reftest') !== -1;
|
|||||||
promise.then(function(output) {
|
promise.then(function(output) {
|
||||||
var canvas = Array.isArray(targets) ? output[0] : output;
|
var canvas = Array.isArray(targets) ? output[0] : output;
|
||||||
if (Array.isArray(targets)) {
|
if (Array.isArray(targets)) {
|
||||||
console.log(output[1].split('\n').map(function(line, i) {
|
console.log(
|
||||||
return (i + 1) + ':' + line;
|
output[1]
|
||||||
}).join('\n'));
|
.split('\n')
|
||||||
|
.map(function(line, i) {
|
||||||
|
return i + 1 + ':' + line;
|
||||||
|
})
|
||||||
|
.join('\n')
|
||||||
|
);
|
||||||
}
|
}
|
||||||
var $canvas = $(canvas),
|
var $canvas = $(canvas),
|
||||||
finishTime = new Date();
|
finishTime = new Date();
|
||||||
|
Loading…
Reference in New Issue
Block a user