https://developer.mozilla.org/en-US/docs/Web/Events/animationend
@Test @Alerts("animation end") public void cssAnimationEndEvent() throws Exception { final String html = "<html><head>\n" + "<style>\n" + ".animate { animation: identifier .1s ; }\n" + "@keyframes identifier { 0% { width: 0px; } 100% { width: 30px; } }\n" + "</style>\n" + "<script>\n" + "function test(){\n" + " var el = document.getElementById('div1');\n" + " el.addEventListener('animationend', function(){\n" + " alert('animation end');\n" + " });\n" + " el.className = 'animate';\n" + "}\n" + "</script>\n" + "</head><body onload='test()'>\n" + "<div id='div1'>TXT</div>\n" + "</body></html>"; loadPageWithAlerts2(html); }
Test case added in AnimationEventTest
In between implemented.
Log in to post a comment.
Test case added in AnimationEventTest
In between implemented.