2 <html class=
"reftest-wait">
3 <title>Testcase, bug
1122526</title>
12 * We use step-end with reverse direction to paint the initial state
13 * on the first frame, and step to the last state on the next frame.
15 #inner { animation: HoldTransform step-end
100s reverse }
20 background: repeating-linear-gradient(to top left, yellow, blue
10px);
22 @keyframes HoldTransform {
23 /* need to initially rasterize at non-identity transform to hit the
25 * NOTE: These keyframes will be used reverse direction.
27 0% { transform: none }
28 100% { transform: scale(
0.2) }
40 document
.getElementById("inner").addEventListener("animationstart", StartListener
);
42 function StartListener(event
) {
43 // Animation should be zoomed to transform:none after the first frame.
44 requestAnimationFrame(RemoveReftestWait
);
47 function RemoveReftestWait() {
48 document
.documentElement
.classList
.remove("reftest-wait");