[webkit-changes] [WebKit/WebKit] 8c5177: [scroll-animations] Scroll padding should be used ...

Nikos Mouchtaris noreply at github.com
Tue Feb 4 10:43:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c5177f6ae2c32d35f47af1ede61b01a374e2643
      https://github.com/WebKit/WebKit/commit/8c5177f6ae2c32d35f47af1ede61b01a374e2643
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-inset-animation-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-snapport-expected.txt
    M Source/WebCore/animation/ViewTimeline.cpp

  Log Message:
  -----------
  [scroll-animations] Scroll padding should be used if view-timeline-inset is explicitly set to auto
https://bugs.webkit.org/show_bug.cgi?id=286842
rdar://143990760

Reviewed by Antoine Quint.

Scroll padding should be used if view-timeline-inset is explicitly set to auto. Most of the tests in
css/view-timeline-inset-animation.html still fail due to scrollTop/scrollLeft getting clamped for
some unknown reason. Needs investigation. view-timelines/view-timeline-snapport.html is failing after
this patch due to https://github.com/w3c/csswg-drafts/issues/11644.

* LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-inset-animation-expected.txt:
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::cacheCurrentTime):

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