Menu ▾ ▴

#229 Add support for animationend event

Latest SVN
closed
RBRi
1
2021-05-23
2016-04-15
Madis Pärn
No

Discussion

  • Madis Pärn

    Madis Pärn - 2016-04-15
        @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);
        }
    
     
  • Ahmed Ashour

    Ahmed Ashour - 2016-04-15
    • status: open --> accepted
     
  • Ahmed Ashour

    Ahmed Ashour - 2016-04-15

    Test case added in AnimationEventTest

     
  • RBRi

    RBRi - 2021-05-23

    In between implemented.

     
  • RBRi

    RBRi - 2021-05-23
    • status: accepted --> closed
    • assigned_to: RBRi
     

Log in to post a comment.