<?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>139775</bug_id>
          
          <creation_ts>2014-12-18 06:07:28 -0800</creation_ts>
          <short_desc>SVG SMIL animation wont always run</short_desc>
          <delta_ts>2022-07-14 11:54:55 -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>Mac</rep_platform>
          <op_sys>OS X 10.10</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Niklas Holmberg">holmberg.niklas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>rniwa</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1056770</commentid>
    <comment_count>0</comment_count>
    <who name="Niklas Holmberg">holmberg.niklas</who>
    <bug_when>2014-12-18 06:07:28 -0800</bug_when>
    <thetext>I&apos;ve been looking at an article about SVG SMIL animations.

Code: http://codepen.io/chriscoyier/pen/DpFfE

Article: http://css-tricks.com/svg-shape-morphing-works/

Works good except for in Safari desktop (and I guess also on iOS). The button should toggle between a yellow star and a green check symbol.

The animations work good the first two times the animation runs and the third time I get a green star instead of a green check. So the color animation did run but not the shape animation. After that it&apos;s all wrong.

So, in short. SMIL animations doesn&apos;t always run on beginElement().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883634</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-14 09:25:47 -0700</bug_when>
    <thetext>I am unable to reproduce this bug in Safari 15.5 on macOS 12.4 based on attached codepen and I used &quot;Private Window&quot; to avoid any cache issue and I clicked the &quot;Save&quot; button multiple time and didn&apos;t see any &quot;Green Star&quot; as mentioned in Description.

I think it was fixed along the way and can be closed now as &quot;RESOLVED CONFIGURATION CHANGED&quot;. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883699</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-07-14 11:54:55 -0700</bug_when>
    <thetext>Animation works as you say. Thank you for testing!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>