[webkit-changes] [WebKit/WebKit] 660d65: [scroll-animations] Implement animation-range calc...

Nikos Mouchtaris noreply at github.com
Sat Oct 5 11:41:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 660d658f3b685c7d41c8ba8a1e93c386f17a80b3
      https://github.com/WebKit/WebKit/commit/660d658f3b685c7d41c8ba8a1e93c386f17a80b3
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2024-10-05 (Sat, 05 Oct 2024)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/animation/ScrollTimeline.cpp
    M Source/WebCore/animation/ScrollTimeline.h
    A Source/WebCore/animation/TimelineRange.h
    M Source/WebCore/animation/ViewTimeline.cpp
    M Source/WebCore/animation/ViewTimeline.h

  Log Message:
  -----------
  [scroll-animations] Implement animation-range calculation
https://bugs.webkit.org/show_bug.cgi?id=280848
rdar://137232979

Reviewed by Antoine Quint.

Implement basic animation-range calculation. This needs to be hooked up via
WebAnimation::currentTime. Will also need some work to parse TimelineRangeValue
to TimelineRange.

* Source/WebCore/animation/AnimationTimeline.h:
* Source/WebCore/animation/ScrollTimeline.cpp:
(WebCore::ScrollTimeline::computeScrollTimelineData const):
* Source/WebCore/animation/ScrollTimeline.h:
(WebCore::ScrollTimeline::computeScrollTimelineData):
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::computeViewTimelineData const):
(WebCore::ViewTimeline::startOffset const):
(WebCore::ViewTimeline::endOffset const):
* Source/WebCore/animation/ViewTimeline.h:

Canonical link: https://commits.webkit.org/284732@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