gecko-dev/layout/reftests/web-animations/1363639-1.html
Matt Brubeck d8c5e6208c Bug 1363639 - stylo: Make interpolation of rect() match Gecko. r=emilio
MozReview-Commit-ID: GKLuA9JeOmz

--HG--
extra : rebase_source : 76b1ac38924088eb4b48c30b32ffa39bb311f5b0
2017-05-23 11:23:11 -07:00

29 lines
676 B
HTML

<!doctype html>
<html class="reftest-wait">
<head>
<meta charset=utf-8>
<title>Bug 1363639</title>
<style>
#outer {
position: absolute;
width: 100px;
height: 200px;
background: green;
}
</style>
</head>
<body>
<div id="outer"><div id="inner"></div></div>
<script>
var target = document.querySelector("#outer");
var anim = target.animate([
{clip: 'rect(0px, auto, 0px, 0px)'},
{clip: 'rect(0px, auto, 200px, 0px)'}
], 2000);
anim.pause();
anim.currentTime = 1000;
document.documentElement.removeAttribute("class");
</script>
</body>
</html>