mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
eb3a4dc4e8
commit
ccf4bf6d63
18
layout/reftests/css-animations/animate-opacity-ref.html
Normal file
18
layout/reftests/css-animations/animate-opacity-ref.html
Normal 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>
|
23
layout/reftests/css-animations/animate-opacity.html
Normal file
23
layout/reftests/css-animations/animate-opacity.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user