Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f996eab6888d712777297ffa81baed237c5b8b9
      
https://github.com/WebKit/WebKit/commit/2f996eab6888d712777297ffa81baed237c5b8b9
  Author: Antoine Quint <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-range-animation-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-get-set-range-expected.txt
    M Source/WebCore/animation/ViewTimeline.cpp
    M Source/WebCore/animation/ViewTimeline.h
    M Source/WebCore/css/CSSKeyframeRule.cpp
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/CSSValueKeywords.in
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp
    M Source/WebCore/style/values/animations/StyleSingleAnimationRange.cpp
    M Source/WebCore/style/values/animations/StyleSingleAnimationRange.h
    M Source/WebCore/style/values/animations/StyleSingleAnimationRangeName.cpp
    M Source/WebCore/style/values/animations/StyleSingleAnimationRangeName.h

  Log Message:
  -----------
  [scroll-animations] WPT test `css/view-timeline-range-animation.html` fails
https://bugs.webkit.org/show_bug.cgi?id=307784
rdar://170308965

Reviewed by Simon Fraser and Sam Weinig.

An additional `scroll` view progress timeline range [0] was introduced to 
represents "the
full range of the scroll container on which the view progress timeline is 
defined". So we
add support for this which makes two scroll-animations WPT tests pass.

This also addresses bug 307791.

[0] 
https://drafts.csswg.org/scroll-animations-1/#valdef-animation-timeline-range-scroll

* 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-range-animation-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/scroll-animations/view-timelines/view-timeline-get-set-range-expected.txt:
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::cacheCurrentTime):
(WebCore::ViewTimeline::intervalForTimelineRangeName const):
* Source/WebCore/animation/ViewTimeline.h:
* Source/WebCore/css/CSSKeyframeRule.cpp:
(WebCore::StyleRuleKeyframe::Key::writeToString const):
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Timeline.cpp:
(WebCore::CSSPropertyParserHelpers::isAnimationRangeKeyword):
* Source/WebCore/style/values/animations/StyleSingleAnimationRange.cpp:
(WebCore::Style::convertSingleAnimationRangeEdge):
(WebCore::Style::deprecatedConvertSingleAnimationRangeEdge):
* Source/WebCore/style/values/animations/StyleSingleAnimationRange.h:
(WebCore::Style::SingleAnimationRangeEdge::SingleAnimationRangeEdge):
(WebCore::Style::SingleAnimationRangeEdge::switchOn const):
* Source/WebCore/style/values/animations/StyleSingleAnimationRangeName.cpp:
(WebCore::Style::convertCSSValueIDToSingleAnimationRangeName):
(WebCore::Style::convertSingleAnimationRangeNameToCSSValueID):
(WebCore::Style::convertSingleAnimationRangeNameToRangeString):
(WebCore::Style::convertRangeStringToSingleTimelineRangeName):
* Source/WebCore/style/values/animations/StyleSingleAnimationRangeName.h:

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



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

Reply via email to