[css-transitions] What should happen on transitionend
when transition ended but the listener is not called yet?
#1820
Labels
css-transitions-1
Current Work
Currently Firefox implementation and Chrome/Edge one for
transitionend
has slight difference.See this sample:
This sample:
transitionend
event occurs,The intended behavior is that each property set is applied after each
transitionend
event.Firefox runs this sample as intended; it applies the properties and waits
transitionend
on each loop. The element goes 400,200->300,300->200,400->0,0 where each movement takes 4 seconds.Chrome and Edge does differently: The element goes 400,200->immediately 0,0. I think the event listeners on the second/third loop are immediately fired as the browser still have other two
transitionend
on their event queue after the first loop.What is the expected behavior here?
The text was updated successfully, but these errors were encountered: