<?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>201740</bug_id>
          
          <creation_ts>2019-09-12 14:16:32 -0700</creation_ts>
          <short_desc>An &lt;animate&gt; with fill=freeze and repeatDur not multiple of dur does not freeze at the last frame</short_desc>
          <delta_ts>2023-01-23 09:10:01 -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>SVG</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>250977</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>200143</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1570372</commentid>
    <comment_count>0</comment_count>
      <attachid>378679</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-09-12 14:16:32 -0700</bug_when>
    <thetext>Created attachment 378679
animate-fill-freeze-with-repeatDur

Open the attached test case. It has two animated rectangles. The duration of both elements is 2s. The repeatDur of the first rectangle is 4s while it is 5s for the second rectangle.

Result: The first rectangles freezes at where the last frame is drawn. The second frame is moved back to its frame drawn at 3s.
Expected: Both rectangles freeze at their last drawn frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1570373</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2019-09-12 14:17:47 -0700</bug_when>
    <thetext>Related WPT tests:

https://wpt.fyi/results/svg/animations/animate-fill-freeze-with-repeatDur.html?label=experimental&amp;label=master&amp;aligned</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927262</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-22 06:50:44 -0800</bug_when>
    <thetext>It seems that I didn&apos;t done my due diligence properly - I am fixing it via bug 250977. Once other will get committed, we can mark this as duplicate of other bug. Just wanted to highlight.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927472</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-23 09:10:01 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 250977 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>378679</attachid>
            <date>2019-09-12 14:16:32 -0700</date>
            <delta_ts>2019-09-12 14:16:32 -0700</delta_ts>
            <desc>animate-fill-freeze-with-repeatDur</desc>
            <filename>animate-fill-freeze-with-repeatDur.svg</filename>
            <type>image/svg+xml</type>
            <size>942</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGRlZnM+CiAgICAg
ICAgPGcgaWQ9InJ1bGVyIj4KICAgICAgICAgICAgPHJlY3QgeD0iMCIgeT0iMTAwIiB3aWR0aD0n
MTAwJyBoZWlnaHQ9JzEwMCcgZmlsbD0ncmVkJyBmaWxsLW9wYWNpdHk9IjAuMyIvPgogICAgICAg
ICAgICA8cmVjdCB4PSIxMDAiIH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