fune/layout/reftests/css-animations/transform-animation-in-delay.html
Hiroyuki Ikezoe c3b289216c 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

--HG--
extra : rebase_source : 1075557f04d4ae1ce049e2c4513b00287ee9d4be
2018-05-15 09:08:49 +09:00

22 lines
417 B
HTML

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