Bug 1156456 followup - Add a simple reftest for off-main-thread animation of opacity.

This is a parallel to the transform test previously added in this bug.
This commit is contained in:
L. David Baron 2015-04-28 12:11:16 -07:00
parent eb3a4dc4e8
commit ccf4bf6d63
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<title>Reftest, bug 1156456</title>
<style>
body {
background: #2a4;
}
div {
width: 200px; height: 200px;
background: #c37;
opacity: 0.6;
will-change: opacity;
}
</style>
<div></div>

View File

@ -0,0 +1,23 @@
<!DOCTYPE HTML>
<html>
<title>Reftest, bug 1156456</title>
<style>
body {
background: #2a4;
}
@keyframes HoldOpacity {
from, to {
opacity: 0.6;
}
}
div {
width: 200px; height: 200px;
background: #c37;
animation: 10s HoldOpacity infinite;
}
</style>
<div></div>

View File

@ -2,3 +2,4 @@
!= screen-animations.html screen-animations-notref.html
fails == print-no-animations.html print-no-animations-ref.html # reftest harness doesn't actually make pres context non-dynamic for reftest-print tests
fails != print-no-animations.html print-no-animations-notref.html # reftest harness doesn't actually make pres context non-dynamic for reftest-print tests
== animate-opacity.html animate-opacity-ref.html