gecko-dev/dom/animation
Boris Chiou a6ce72cb76 Bug 1741255 - Don't put the scroll animations into PendingAnimationTracker. r=hiro
Basically, we use the current target scroll position as the ready time for
scroll animations, so we don't need to wait until it gets painted.

In fact, it's unclear whether do we need play/pause pending status for
scroll animations, so we choose the natural way for now, and this should
match other browsers' behaviors.

Note:
We avoid puting the scroll animation into PendingAnimationTracker
in PlayNoUpdate() and Pause(). However, we may still "try" to remove
scroll animations from PendingAnimationTracker in some APIs just in
case if those APIs change the animations from using DocumentTimeline to
using ScrollTimeline. They should be revisited once we expose
ScrollTimeline to JS.

Differential Revision: https://phabricator.services.mozilla.com/D132750
2021-12-15 09:54:43 +00:00
..
test Bug 1676791 - Part 8: Hook scroll-timeline rule into Cascade data and use it for CSS animations. r=emilio,hiro 2021-12-08 01:16:31 +00:00
Animation.cpp Bug 1741255 - Don't put the scroll animations into PendingAnimationTracker. r=hiro 2021-12-15 09:54:43 +00:00
Animation.h Bug 1741255 - Don't put the scroll animations into PendingAnimationTracker. r=hiro 2021-12-15 09:54:43 +00:00
AnimationComparator.h
AnimationEffect.cpp Bug 1673931 - Avoid including Document.h from header files. r=emilio 2020-11-23 16:07:43 +00:00
AnimationEffect.h Bug 1676791 - Part 3: Implement the computation of timing. r=hiro 2021-12-08 01:16:29 +00:00
AnimationEventDispatcher.cpp
AnimationEventDispatcher.h Bug 1743439 - Part 1: Mark callers in dom/animation and dom/base as MOZ_CAN_RUN_SCRIPT_BOUNDARY r=masayuki 2021-12-09 19:56:08 +00:00
AnimationPerformanceWarning.cpp
AnimationPerformanceWarning.h
AnimationPropertySegment.h
AnimationTarget.h
AnimationTimeline.cpp Bug 1676791 - Part 2: Implement the infrastructure of scroll-linked animations. r=emilio,hiro 2021-12-08 01:16:28 +00:00
AnimationTimeline.h Bug 1676791 - Part 8: Hook scroll-timeline rule into Cascade data and use it for CSS animations. r=emilio,hiro 2021-12-08 01:16:31 +00:00
AnimationUtils.cpp
AnimationUtils.h Bug 1723050 - Part 1: Replace typedef by using in dom/animation/ r=hiro 2021-08-05 02:25:23 +00:00
CSSAnimation.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
CSSAnimation.h
CSSPseudoElement.cpp Bug 1679009 - Simplify some getters in CSSPseudoElement and KeyframeEffect. r=hiro 2020-11-24 23:58:33 +00:00
CSSPseudoElement.h Bug 1679009 - Simplify some getters in CSSPseudoElement and KeyframeEffect. r=hiro 2020-11-24 23:58:33 +00:00
CSSTransition.cpp Bug 1714421 - Move the assertion of timeline after checking mReplacedTransition. r=hiro 2021-08-05 00:37:55 +00:00
CSSTransition.h Bug 1692684 - Don't create transitions for invalid ::marker properties. r=hiro 2021-02-24 16:35:17 +00:00
ComputedTiming.h
ComputedTimingFunction.cpp Bug 1706157 - Avoid int overflow for steps() timing function. r=hiro 2021-05-03 23:07:03 +00:00
ComputedTimingFunction.h Bug 1676791 - Part 4: Make TimingParams be a LiteralType. r=hiro 2021-12-08 01:16:29 +00:00
DocumentTimeline.cpp Bug 1676791 - Part 2: Implement the infrastructure of scroll-linked animations. r=emilio,hiro 2021-12-08 01:16:28 +00:00
DocumentTimeline.h Bug 1676791 - Part 5: Define the finite timeline and use it in Play() and Pause(). r=hiro 2021-12-08 01:16:30 +00:00
EffectCompositor.cpp Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
EffectCompositor.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
EffectSet.cpp Bug 708901 - Migrate to nsTHashSet in dom/animation. r=birtles 2021-03-23 10:36:32 +00:00
EffectSet.h Bug 1723050 - Part 1: Replace typedef by using in dom/animation/ r=hiro 2021-08-05 02:25:23 +00:00
Keyframe.h
KeyframeEffect.cpp Bug 1676791 - Part 7: Disable OMTA for scroll-timeline. r=hiro 2021-12-08 01:16:30 +00:00
KeyframeEffect.h Bug 1692684 - Don't create transitions for invalid ::marker properties. r=hiro 2021-02-24 16:35:17 +00:00
KeyframeEffectParams.h
KeyframeUtils.cpp Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
KeyframeUtils.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
PendingAnimationTracker.cpp Bug 1741255 - Don't put the scroll animations into PendingAnimationTracker. r=hiro 2021-12-15 09:54:43 +00:00
PendingAnimationTracker.h Bug 1723050 - Part 1: Replace typedef by using in dom/animation/ r=hiro 2021-08-05 02:25:23 +00:00
PostRestyleMode.h
PseudoElementHashEntry.h
ScrollTimeline.cpp Bug 1746101 - Avoid making animations get removed after moving from 100% endpoint. r=hiro 2021-12-15 09:54:42 +00:00
ScrollTimeline.h Bug 1676791 - Part 9: Define Scroller to handle the source of ScrollTimeline. r=emilio 2021-12-08 01:16:31 +00:00
TimingParams.cpp Bug 1682003 - Avoid UTF-8 -> UTF-16 conversion during CSSOM serialization. r=heycam 2020-12-17 14:04:35 +00:00
TimingParams.h Bug 1676791 - Part 4: Make TimingParams be a LiteralType. r=hiro 2021-12-08 01:16:29 +00:00
moz.build Bug 1676791 - Part 1: Add ScrollTimeline class. r=hiro 2021-12-08 01:16:28 +00:00