<?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>98718</bug_id>
          
          <creation_ts>2012-10-08 22:00:06 -0700</creation_ts>
          <short_desc>SVG animation of CSS value does not always reset</short_desc>
          <delta_ts>2026-04-01 02:42:05 -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>420+</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/58906</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Rogers">pdr</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>737408</commentid>
    <comment_count>0</comment_count>
      <attachid>167688</attachid>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-10-08 22:00:06 -0700</bug_when>
    <thetext>Created attachment 167688
Testcase

If we animate a CSS value using SVG and change the animation, the animated CSS value does not reset. In the attached testcase, opacity is animated to 0.5 and then the animation is changed so that &apos;x&apos; is being animated, but the opacity remains at 0.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884306</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 15:36:08 -0700</bug_when>
    <thetext>I don&apos;t see X animating at all.

Still, Chrome and Firefox return opacity to 1.0, which Safari does not. There appears to be a bug of some kind here</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884307</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-15 15:36:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/97097883&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979037</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-09-21 09:31:44 -0700</bug_when>
    <thetext>Still reproducible</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2002441</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-01 11:17:53 -0800</bug_when>
    <thetext>WPT Test - https://wpt.fyi/results/svg/animations/reinserting-svg-into-document.html?label=master&amp;label=experimental&amp;aligned=&amp;q=svg%2Fanimations%2F

WPT Test Live Link - http://wpt.live/svg/animations/reinserting-svg-into-document.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191629</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-03-19 00:33:17 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/60919</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2192068</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-20 08:09:56 -0700</bug_when>
    <thetext>Committed 309621@main (f295098a858c): &lt;https://commits.webkit.org/309621@main&gt;

Reviewed commits have been landed. Closing PR #60919 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2195839</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-04-01 02:42:05 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/58906</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>167688</attachid>
            <date>2012-10-08 22:00:06 -0700</date>
            <delta_ts>2012-10-08 22:00:06 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>341</size>
            <attacher name="Philip Rogers">pdr</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8c2NyaXB0PgogICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCl7CiAgICAg
IHZhciBzZXQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnc2V0Jyk7CiAgICAgIHNldC5zZXRB
dHRyaWJ1dGUoImF0dHJpYnV0ZU5hbWUiLCAieCIpOwogIH0sMTAwKTsKPC9zY3JpcHQ+Cjxzdmc+
CjxyZWN0IGlkPSJyZWN0IiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmls
bD0iZ3JlZW4iPgogIDxzZXQgaWQ9InNldCIgYXR0cmlidXRlVHlwZT0iQ1NTIiBhdHRyaWJ1dGVO
YW1lPSJvcGFjaXR5IiB0bz0iMC41IiAvPgo8L3JlY3Q+Cjwvc3ZnPgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>