Name Description Size Coverage
Animation.cpp static 69759 96 %
Animation.h Utility function to get the target (pseudo-)element associated with an animation. 22879 99 %
AnimationComparator.h 1080 100 %
AnimationEffect.cpp 14087 99 %
AnimationEffect.h Returns true if this effect animates one of the properties we consider geometric properties, e.g. properties such as 'width' or 'margin-left' that we try to synchronize with transform animations, on a valid target element. 4273 80 %
AnimationEventDispatcher.cpp 8623 94 %
AnimationEventDispatcher.h 11731 97 %
AnimationPerformanceWarning.cpp 2713 72 %
AnimationPerformanceWarning.h 2738 100 %
AnimationPropertySegment.h 2036 100 %
AnimationTarget.h 4049 100 %
AnimationTimeline.cpp 4125 93 %
AnimationTimeline.h Returns true if the times returned by GetCurrentTimeAsDuration() are convertible to and from wallclock-based TimeStamp (e.g. from TimeStamp::Now()) values using ToTimelineTime() and ToTimeStamp(). Typically this is true, but it will be false in the case when this timeline has no refresh driver or is tied to a refresh driver under test control. 5482 81 %
AnimationTimelinesController.cpp 2142 100 %
AnimationTimelinesController.h The controller which keeps track of all timelines in a document. So basically each document should have its own AnimationTimelinesController. 1730 100 %
AnimationUtils.cpp static 4137 75 %
AnimationUtils.h Get the document from the JS context to use when parsing CSS properties. 5046 97 %
ComputedTiming.h Stores the results of calculating the timing properties of an animation at a given sample time. 2675 100 %
CSSAnimation.cpp 13300 95 %
CSSAnimation.h 9548 100 %
CSSPseudoElement.cpp static 3129 0 %
CSSPseudoElement.h 2196 0 %
CSSTransition.cpp 15005 98 %
CSSTransition.h 10033 100 %
DocumentTimeline.cpp static 8173 92 %
DocumentTimeline.h 2842 100 %
EffectCompositor.cpp static 36513 95 %
EffectCompositor.h 11112 100 %
EffectSet.cpp static 4072 91 %
EffectSet.h 9134 100 %
ElementAnimationData.cpp 7836 97 %
ElementAnimationData.h 7518 94 %
EndpointBehavior.h 566 -
Keyframe.h A property-value pair specified on a keyframe. 2962 100 %
KeyframeEffect.cpp 74047 92 %
KeyframeEffect.h 22631 96 %
KeyframeEffectParams.h 1328 100 %
KeyframeUtils.cpp A property-values pair obtained from the open-ended properties discovered on a regular keyframe or property-indexed keyframe object. Single values (as required by a regular keyframe, and as also supported on property-indexed keyframes) are stored as the only element in mValues. 45342 97 %
KeyframeUtils.h Utility methods for processing keyframes. 4117 -
moz.build 2053 -
PostRestyleMode.h 528 -
PseudoElementHashEntry.h 1863 100 %
ScrollTimeline.cpp static 11524 95 %
ScrollTimeline.h Implementation notes -------------------- ScrollTimelines do not observe refreshes the way DocumentTimelines do. This is because the refresh driver keeps ticking while it has registered refresh observers. For a DocumentTimeline, it's appropriate to keep the refresh driver ticking as long as there are active animations, since the animations need to be sampled on every frame. Scroll-linked animations, however, only need to be sampled when scrolling has occurred, so keeping the refresh driver ticking is wasteful. As a result, we schedule an animation restyle when 1) there are any scroll offsets updated (from APZ or script), via ScrollContainerFrame, or 2) there are any possible scroll range updated during the frame reflow. ------------- | Animation | ------------- ^ | Call Animation::Tick() if there are any scroll updates. | ------------------ | ScrollTimeline | ------------------ ^ | Try schedule the scroll-driven animations, if there are any scroll | offsets changed or the scroll range changed [1]. | ------------------------ | ScrollContainerFrame | ------------------------ [1] ScrollContainerFrame uses its associated dom::Element to lookup the ScrollTimelineSet, and iterates the set to schedule the animations linked to the ScrollTimelines. 8615 94 %
ScrollTimelineAnimationTracker.cpp 2452 100 %
ScrollTimelineAnimationTracker.h Handle the pending animations which use scroll timeline while playing or pausing. 1664 75 %
test -
TimingParams.cpp static 10052 98 %
TimingParams.h 9734 99 %
ViewTimeline.cpp static 8113 99 %
ViewTimeline.h A view progress timeline is a segment of a scroll progress timeline that are scoped to the scroll positions in which any part of the associated element’s principal box intersects its nearest ancestor scrollport. So ViewTimeline is a special case of ScrollTimeline. 3598 80 %