зеркало из https://github.com/mozilla/gecko-dev.git
d8ec730df8
The check of negative elapsedDuration is basically no longer valid since animation delay is not factored into start time any more. But still we have somtimes met negative elapsedDuration sice we use a previous vsync time stamp for async animations to make the animations more sync. This is not a problem in most cases but makes two reftests intermitent failure because both of them used steps(1, start), the steps(1, start) composed different results in the before phase and in the active phase. To avoid this difference this patch replace the steps(1, start) with steps(1, end). Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since the time passed to AnimationTimeToTimeStamp does not contain delay any more. MozReview-Commit-ID: IVE2IFfNgm0 --HG-- extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12 |
||
---|---|---|
.. | ||
no-stacking-context-transition-ref.html | ||
reftest-stylo.list | ||
reftest.list | ||
stacking-context-opacity-lose-to-animation.html | ||
stacking-context-opacity-wins-over-important-style.html | ||
stacking-context-transform-lose-to-animation.html | ||
stacking-context-transform-wins-over-important-style.html | ||
stacking-context-transition-ref.html | ||
transitions-inline-already-wrapped-1.html | ||
transitions-inline-already-wrapped-2.html | ||
transitions-inline-ref.html | ||
transitions-inline-rewrap-1.html | ||
transitions-inline-rewrap-2.html |