зеркало из https://github.com/mozilla/gecko-dev.git
881f90e9a2
When transitions finish, we keep them around for one additional throttle-able tick to provide correct behavior for subsequent transitions that may be triggered. Prior to this patch we did this by overloading the start time of the animation and setting it to null in this case. However, if we begin returning ElementAnimation objects to script, script can hold on to those objects and query their start time even after they are finished. Therefore we need another means of marking finished transitions that doesn't clobber the start time field. This patch introduces a new boolean member for marking such transitions. While we're touching IsFinishedTransition we also take the chance to tidy up one of the call sites, namely IsCurrentAt, to make the logic a little easier to follow. |
||
---|---|---|
.. | ||
analysis | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |