• Start having animations conform to the HTML spec

    This is a small step toward fixing #19242. The main idea is that the
    clock for animations should advance as the event loop ticks. We
    accomplish this by moving the clock from layout and naming it the
    "animation timeline" which is the spec language. This should fix
    flakiness with animations and transitions tests where a reflow could
    move animations forward while script was running.
    
    This change also starts to break out transition and animation events
    into their own data structure, because it's quite likely that the next
    step in fixing #19242 is to no longer send these events through a
    channel.
    mrobinson committed May 5, 2020