You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the test view-timelines/view-timeline-snapport.html, it is expected that ViewTimelines without a user specified timeline inset should avoid using the scroll-padding property as the inset. However, inset is defined as below in ViewTimelineOptions:
This definition doesn't make it possible to differentiate the user explicitly setting inset as auto vs the default value. My suggestion is to define it as an optional like below, so we can differentiate between these two cases:
…set is explicitly set to auto
https://bugs.webkit.org/show_bug.cgi?id=286842
rdar://143990760
Reviewed by NOBODY (OOPS!).
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 w3c/csswg-drafts#11644.
* LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-inset-animation-expected.txt:
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::cacheCurrentTime):
…set 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 w3c/csswg-drafts#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
Based on the test
view-timelines/view-timeline-snapport.html
, it is expected thatViewTimelines
without a user specified timeline inset should avoid using the scroll-padding property as the inset. However, inset is defined as below in ViewTimelineOptions:This definition doesn't make it possible to differentiate the user explicitly setting inset as auto vs the default value. My suggestion is to define it as an optional like below, so we can differentiate between these two cases:
The text was updated successfully, but these errors were encountered: