Hi, could you take a look at this? thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
void ImageLoader::ResetAnimationOrDeferUntilAttach() {I don't think there's supposed to be any connection between resetting an animation and whether the animation is visible at all, so I suspect what you want to do here is rather to separate resetting the animation and potentially triggering invalidation (if needed).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (timeline->HasAnimations()) {Not sure we need another HasAnimations method. We already have Element::HasAnimations(), Document::getAnimations(), Element::getAnimations(), and Element::GetElementAnimations().
This method would return true if any element in the document has an animation, or even if it recently had an animation that simply hasn't been garbage collected yet. Methinks Element::GetElementAnimations() provides what you need.
document.GetDocumentAnimations().HasAnimations();Element already has a HasAnimations method.
root_element->HasAnimations()