Bug 936720 (Part 2) - Remove reftests for animated image operators. r=jdm
--HG-- extra : rebase_source : 0d0f566a578644e75b30a4ce2afe93d71e7fec3d
Before Width: | Height: | Size: 660 B |
Before Width: | Height: | Size: 840 B |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 219 B |
@ -1,46 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Delayed image reftest wrapper + background colour</title>
|
||||
<style>
|
||||
img {
|
||||
background-color: rgb(0, 255, 0);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img id="image1">
|
||||
<script>
|
||||
// This loads a externally specified image, forces a draw (in case of
|
||||
// decode-on-draw), waits, and then triggers the reftest snapshot.
|
||||
// This allows the animation on the page to complete.
|
||||
//
|
||||
// Use as "delaytest.html?animation.png"
|
||||
//
|
||||
|
||||
// Get the image URL from our URL
|
||||
var imgURL = document.location.search.substr(1);
|
||||
|
||||
// Load the image
|
||||
var img = document.images[0];
|
||||
img.src = imgURL;
|
||||
img.onload = forceDecode;
|
||||
|
||||
function forceDecode() {
|
||||
|
||||
// We need to force drawing of the image in an invisible context
|
||||
var canvas = document.createElement("canvas");
|
||||
var ctx = canvas.getContext("2d");
|
||||
ctx.drawImage(img, 0, 0);
|
||||
|
||||
// We've force the decode. start the timer to trigger the reftest
|
||||
startTimer();
|
||||
}
|
||||
|
||||
function startTimer() {
|
||||
const delay = 10000;
|
||||
setTimeout("document.documentElement.className = '';", delay);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 622 B |
@ -1,40 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Delayed image reftest wrapper + background colour</title>
|
||||
<style>
|
||||
img {
|
||||
background-color: rgb(0, 255, 0);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img id="image1">
|
||||
<script>
|
||||
// This loads a externally specified image, forces a draw (in case of
|
||||
// decode-on-draw), and then triggers the reftest snapshot.
|
||||
//
|
||||
// Use as "nodelaytest.html?animation.png"
|
||||
//
|
||||
|
||||
// Get the image URL from our URL
|
||||
var imgURL = document.location.search.substr(1);
|
||||
|
||||
// Load the image
|
||||
var img = document.images[0];
|
||||
img.src = imgURL;
|
||||
img.onload = forceDecode;
|
||||
|
||||
function forceDecode() {
|
||||
|
||||
// We need to force drawing of the image in an invisible context
|
||||
var canvas = document.createElement("canvas");
|
||||
var ctx = canvas.getContext("2d");
|
||||
ctx.drawImage(img, 0, 0);
|
||||
|
||||
// We've force the decode. trigger the reftest
|
||||
setTimeout("document.documentElement.className = '';", 0);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 525 B |
@ -1,16 +0,0 @@
|
||||
# Tests of the allowed disposal operators for both GIF and APNG: keep, clear,
|
||||
# and restore previous.
|
||||
== delay-test.html?clear.gif no-delay-test.html?green.png
|
||||
== delay-test.html?clear.png no-delay-test.html?green.png
|
||||
== delay-test.html?keep.gif no-delay-test.html?green.png
|
||||
== delay-test.html?keep.png no-delay-test.html?green.png
|
||||
== delay-test.html?restore-previous.gif no-delay-test.html?green.png
|
||||
== delay-test.html?restore-previous.png no-delay-test.html?green.png
|
||||
|
||||
# Test of the blending/compositing operator that only APNG supports.
|
||||
== delay-test.html?over.png no-delay-test.html?grey.png
|
||||
!= delay-test.html?source.png no-delay-test.html?grey.png
|
||||
== delay-test.html?bug900200.png no-delay-test.html?bug900200-ref.png
|
||||
|
||||
# Test of subframe updates
|
||||
== delay-test.html?clear2.gif no-delay-test.html?clear2-results.gif
|
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 525 B |
@ -45,6 +45,3 @@ include color-management/reftest.list
|
||||
|
||||
# Lossless encoders
|
||||
skip-if(Android||B2G) include encoders-lossless/reftest.list # bug 783621
|
||||
|
||||
# Animated image disposal and blending operator tests
|
||||
include animated/reftest.list
|
||||
|