2 <html class=
"reftest-wait reftest-no-flush">
5 /* Suppress scrollbars to avoid periodical unthrottling for transform */
6 /* animations on the compositor. */
23 background-image: url(pinwheel_logo.svg);
24 background-size:
200px
200px;
25 background-position: -
50px -
50px;
26 background-color: green;
34 document
.addEventListener('MozReftestInvalidate', () => {
35 // Set a bit longer animation delay to avoid painting the initial animation
36 // style on the main thread.
37 target
.style
.animation
= "anim 100s 1s";
38 target
.addEventListener("animationstart", () => {
39 requestAnimationFrame(() => {
40 requestAnimationFrame(() => {
41 document
.documentElement
.classList
.remove("reftest-wait");