[webkit-changes] [WebKit/WebKit] f735de: [web-animations] add the notion of an "intrinsic i...

Antoine Quint noreply at github.com
Mon Oct 14 10:17:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f735de0e1cf230f4eb43424c95ea58ecbd4099ba
      https://github.com/WebKit/WebKit/commit/f735de0e1cf230f4eb43424c95ea58ecbd4099ba
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M Source/WebCore/animation/AnimationEffect.cpp
    M Source/WebCore/animation/AnimationEffectTiming.cpp
    M Source/WebCore/animation/AnimationEffectTiming.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [web-animations] add the notion of an "intrinsic iteration duration" from Web Animations Level 2
https://bugs.webkit.org/show_bug.cgi?id=281419
rdar://137867467

Reviewed by Dean Jackson.

Web Animations Level 2 introduces the notion of an "intrinsic iteration duration"
in https://drafts.csswg.org/web-animations-2/#intrinsic-iteration-duration. We
need to introduce this notion in our codebase to support Scroll-driven Animations
since the simple "iteration duration" may use seconds values which would cause problem
since all progress-based values are expected to be percentages.

* Source/WebCore/animation/AnimationEffect.cpp:
(WebCore::AnimationEffect::getComputedTiming const):
(WebCore::AnimationEffect::updateStaticTimingProperties):
(WebCore::AnimationEffect::animationTimelineDidChange):
* Source/WebCore/animation/AnimationEffectTiming.cpp:
(WebCore::AnimationEffectTiming::updateComputedProperties):
(WebCore::AnimationEffectTiming::resolve const):
* Source/WebCore/animation/AnimationEffectTiming.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/285130@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list