Name Description Size Coverage
Animation.cpp static 71288 96 %
Animation.h Utility function to get the target (pseudo-)element associated with an animation. 23628 99 %
AnimationComparator.h 959 100 %
AnimationEffect.cpp 14523 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. 4152 80 %
AnimationEventDispatcher.cpp 8502 94 %
AnimationEventDispatcher.h 11610 97 %
AnimationPerformanceWarning.cpp 2590 72 %
AnimationPerformanceWarning.h 2617 100 %
AnimationPropertySegment.h 1915 100 %
AnimationTarget.h 3928 100 %
AnimationTimeline.cpp 4004 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. 5412 82 %
AnimationTimelinesController.cpp 2021 100 %
AnimationTimelinesController.h The controller which keeps track of all timelines in a document. So basically each document should have its own AnimationTimelinesController. 1609 100 %
AnimationUtils.cpp static 4016 75 %
AnimationUtils.h Get the document from the JS context to use when parsing CSS properties. 4925 97 %
ComputedTiming.h Stores the results of calculating the timing properties of an animation at a given sample time. 2554 100 %
CSSAnimation.cpp 13179 95 %
CSSAnimation.h 9427 100 %
CSSPseudoElement.cpp static 3008 0 %
CSSPseudoElement.h 2075 0 %
CSSTransition.cpp 14884 98 %
CSSTransition.h 9912 100 %
DocumentTimeline.cpp static 8087 97 %
DocumentTimeline.h 2721 100 %
EffectCompositor.cpp static 36392 95 %
EffectCompositor.h 10991 100 %
EffectSet.cpp static 3951 91 %
EffectSet.h 9013 100 %
ElementAnimationData.cpp 7715 97 %
ElementAnimationData.h 7397 94 %
EndpointBehavior.h 445 -
Keyframe.h A property-value pair specified on a keyframe. 2817 100 %
KeyframeEffect.cpp 73926 92 %
KeyframeEffect.h 22510 96 %
KeyframeEffectParams.h 1207 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. 45255 97 %
KeyframeUtils.h Utility methods for processing keyframes. 3996 -
moz.build 1964 -
PostRestyleMode.h 407 -
PseudoElementHashEntry.h 1742 100 %
ScrollTimeline.cpp static 12750 96 %
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. 9197 95 %
ScrollTimelineAnimationTracker.cpp 2331 100 %
ScrollTimelineAnimationTracker.h Handle the pending animations which use scroll timeline while playing or pausing. 1543 100 %
test -
TimingParams.cpp static 9931 98 %
TimingParams.h 9613 99 %
ViewTimeline.cpp static 12430 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. 4640 89 %