<?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>127174</bug_id>
          
          <creation_ts>2014-01-17 07:26:31 -0800</creation_ts>
          <short_desc>setCurrentTime method breaks svg animation</short_desc>
          <delta_ts>2023-05-11 12:33:01 -0700</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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>256651</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=249741</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tamas Gergely">tgergely.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>krit</cc>
    
    <cc>pdr</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>969132</commentid>
    <comment_count>0</comment_count>
      <attachid>221465</attachid>
    <who name="Tamas Gergely">tgergely.u-szeged</who>
    <bug_when>2014-01-17 07:26:31 -0800</bug_when>
    <thetext>Created attachment 221465
svg that triggers the bug.

Using document.documentElement.setCurrentTime() with a time value greater than the duration of the svg animation results in the animation is finished after the second repeat. This happens when the animation begin time is (syncbase) dependent on the end time of itself. Using repeatDur instead of self-dependency works fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884415</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 16:48:13 -0700</bug_when>
    <thetext>This continues to be an issue in Safari 15.5+. Works properly in Chrome and Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884417</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-15 16:48:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/97100972&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954736</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-11 10:41:22 -0700</bug_when>
    <thetext>I have patch for bug 256651 and it seems to make this pass on WebKit ToT (263973@main) on local build.

It is still broken in Safari Technology Preview 169.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954763</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-11 12:33:01 -0700</bug_when>
    <thetext>Confirmed after backing out my patch for other bug and rerunning attached testcase, it fails while after patch, it matches Chrome.

Marking this duplicate for other, since I already have PR for it.

*** This bug has been marked as a duplicate of bug 256651 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>221465</attachid>
            <date>2014-01-17 07:26:31 -0800</date>
            <delta_ts>2014-01-17 07:26:31 -0800</delta_ts>
            <desc>svg that triggers the bug.</desc>
            <filename>setcurrenttime-minimal.svg</filename>
            <type>image/svg+xml</type>
            <size>398</size>
            <attacher name="Tamas Gergely">tgergely.u-szeged</attacher>
            
              <data encoding="base64">PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgb25s
b2FkPSJsb2FkZWQoKSI+CiAgICA8cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0i
cmVkIiB5PSIwIj4KICAgICAgICA8YW5pbWF0ZSBpZD0ic2VsZklEIiBhdHRyaWJ1dGVOYW1lPSJ4
IiBiZWdpbj0iMHM7IHNlbGZJRC5lbmQiIGR1cj0iMnMiIGZyb209IjAiIHRvPSI0MDAiLz4KICAg
IDwvcmVjdD4KICAgIDx0ZXh0IGlkPSJsYWJlbCIgeT0iMTUwIi8+CiAgICA8c2NyaXB0PgogICAg
ICAgIGZ1bmN0aW9uIGxvYWRlZCgpIHsKICAgICAgICAgICAgZG9jdW1lbnQuZG9jdW1lbnRFbGVt
ZW50LnNldEN1cnJlbnRUaW1lKDIuNSk7CiAgICAgICAgfQogICAgPC9zY3JpcHQ+Cjwvc3ZnPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>