gecko-dev/layout/style/crashtests/1342316-1.html
Hiroyuki Ikezoe 0ced305cb6 Bug 1342316 - A crashtest which has calc() method in translate3d function as base style of transform animation. r=heycam
MozReview-Commit-ID: HZHctZyq2k4

--HG--
extra : rebase_source : ff9b12abfaa55391857f6358c663a3283f185aa2
2017-04-28 08:19:46 +09:00

21 lines
530 B
HTML

<!doctype html>
<html class="reftest-wait">
<title>calc() in translate3d as base style of transform animation</title>
<style>
#target {
width: 100px; height: 100px;
background: blue;
animation: anim 1s;
transform: translate3d(100px, calc(10px + 30%), 10px);
}
@keyframes anim {
to { transform: translate3d(0px, 0px, 0px); }
}
</style>
<div id="target"></div>
<script>
document.getElementById("target").addEventListener("animationstart", () => {
document.documentElement.classList.remove("reftest-wait");
});
</script>