Files
tubestation/layout/reftests/css-animations/opacity-animation-in-delay.html
Hiroyuki Ikezoe be96b03885 Bug 1460389 - Reftests for opacity and transform animations that are sent to the compositor in their delay phase. r=birtles
Both tests fail on WebRender without the fix in this patch series.

In the delay phase, those animations should be painted using non-animated
value (i.e. opacity:0 or translateX(100px)), but on WebRender they were painted
using opacity: 1 or identity transform.

MozReview-Commit-ID: DOHopfleWB0
2018-05-15 09:08:49 +09:00

23 lines
383 B
HTML

<!DOCTYPE html>
<html class="reftest-wait reftest-no-flush">
<style>
@keyframes anim {
from { opacity: 0.5; }
to { opacity: 0.5; }
}
div {
background: green;
width: 100px;
height: 100px;
animation: anim 100s 100s;
opacity: 0;
}
</style>
<div></div>
<script>
requestAnimationFrame(() => {
document.documentElement.classList.remove('reftest-wait');
});
</script>
</html>