<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>284545</bug_id>
          
          <creation_ts>2024-12-12 06:52:04 -0800</creation_ts>
          <short_desc>[scroll-animations] WPT test scroll-animations/scroll-timelines/scroll-animation-effect-phases.tentative.html has failures</short_desc>
          <delta_ts>2025-02-21 07:04:05 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Animations</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/50858</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>284541</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>graouts</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2081165</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2024-12-12 06:52:04 -0800</bug_when>
    <thetext>The WPT test scroll-animations/scroll-timelines/scroll-animation-effect-phases.html has one failure:

FAIL Playback rate affects whether active phase boundary is inclusive. assert_not_equals: Animation effect is in active phase when current time is 100%. got disallowed value null</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081166</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-12 06:52:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/141356963&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095145</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-17 06:29:41 -0800</bug_when>
    <thetext>We fail the &quot;Playback rate affects whether active phase boundary is inclusive&quot; subtest in `scroll-animations/scroll-timelines/scroll-animation-effect-phases.tentative.html`. There are two issues here.

The first issue is a faulty assertion function where `assert_phase` does not deal with `currentTime = 100%` being in the &quot;active&quot; phase for animations associated with a progress-based timeline.

After fixing this we hit a debug ASSERT in WebKit though. Under `setBindingsTimeline()` at the very end of this test, when we change to the document timeline, we end up in a bad state where after calling `setCurrentTime()` the hold time is 0s but the start time is 100%. After that we set the hold time to the unresolved value since the start time is resolved. Then we&apos;re in a state where all the timing values are time-based except for the start time which remains progress-based.

The test attempts to resolve this by setting `animation.currentTime = 0` right after, but we hit the debug assertion before being able to set that value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095147</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-17 06:29:51 -0800</bug_when>
    <thetext>*** Bug 287793 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096678</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-21 04:35:01 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/41055</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096679</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-02-21 04:35:29 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/50858</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096697</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-21 07:04:03 -0800</bug_when>
    <thetext>Committed 290787@main (03eccf44ee0d): &lt;https://commits.webkit.org/290787@main&gt;

Reviewed commits have been landed. Closing PR #41055 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>