<?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>152488</bug_id>
          
          <creation_ts>2015-12-21 12:34:34 -0800</creation_ts>
          <short_desc>SVG&apos;s don&apos;t animate when within an a visited anchor element</short_desc>
          <delta_ts>2022-08-29 14:52:29 -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>Animations</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>https://jsfiddle.net/derekcecillewis/LgmwggLt/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Drackett">drackett</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>jonlee</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1150787</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Drackett">drackett</who>
    <bug_when>2015-12-21 12:34:34 -0800</bug_when>
    <thetext>If there is an SVG animation within a link that has been visited the animation will not play. In the following example, if you have been to apple.com the animation will not play. If you remove the href from the link (or enter a random link that isn&apos;t visited), the animation will play without issue.

http://codepen.io/anon/pen/WrxOVX</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188829</commentid>
    <comment_count>1</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2016-04-29 15:55:36 -0700</bug_when>
    <thetext>Another reduction showing the issue: https://jsfiddle.net/derekcecillewis/LgmwggLt/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188858</commentid>
    <comment_count>2</comment_count>
      <attachid>277755</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2016-04-29 16:30:06 -0700</bug_when>
    <thetext>Created attachment 277755
Simpler reduction

When opening this page, the SVG rectangle should animate its color from red to green regardless whether the link was visited or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1200650</commentid>
    <comment_count>3</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2016-06-08 15:54:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/26702100&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894646</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-29 14:52:22 -0700</bug_when>
    <thetext>I am unable to reproduce this bug using attached &quot;Simple Reduction&quot; on Safari Technology Preview 152 and Safari 15.6.1 and also same is case with other two test cases in &quot;Comment 0 and Comment 01&quot; and in all cases, there is animation, which is similar to other browsers (Chrome Canary 107 and Firefox Nightly 106).

Since all browsers are matching each other, I am going to mark this as &quot;RESOLVED CONFIGURATION CHANGED&quot;. Thanks!

Please reopen if you think it is still reproducible with updated test case. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>277755</attachid>
            <date>2016-04-29 16:30:06 -0700</date>
            <delta_ts>2016-04-29 16:30:06 -0700</delta_ts>
            <desc>Simpler reduction</desc>
            <filename>test197.html</filename>
            <type>text/html</type>
            <size>630</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgogICAgI3N2Zy1yZWN0IHsKICAg
ICAgICAtd2Via2l0LWFuaW1hdGlvbjogY29sb3ItY2hhbmdlIDFzIGZvcndhcmRzOwogICAgICAg
IGFuaW1hdGlvbjogY29sb3ItY2hhbmdlIDFzIGZvcndhcmRzOwogICAgfQogICAgQGtleWZyYW1l
cyBjb2xvci1jaGFuZ2UgewogICAgICAgIDAlIHsKICAgICAgICAgICAgZmlsbDogcmVkOwogICAg
ICAgIH0KICAgICAgICAxMDAlIHsKICAgICAgICAgICAgZmlsbDogZ3JlZW47CiAgICAgICAgfQog
ICAgfQo8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5PgogICAgPGEgaHJlZj0iaHR0cDovL3dlYmtpdC5v
cmciPgogICAgICAgIDxzdmcgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxMDBweCIgaGVpZ2h0PSIx
MDBweCI+CiAgICAgICAgICAgIDxyZWN0IGlkPSJzdmctcmVjdCIgd2lkdGg9IjEwMCUiIGhlaWdo
dD0iMTAwJSIgLz4KICAgICAgICA8L3N2Zz4KICAgIDwvYT4KICAgIDxwPlRoZSBhYm92ZSByZWN0
YW5nbGUgc2hvdWxkIGFuaW1hdGUgaXRzIGNvbG9yIGZyb20gcmVkIHRvIGdyZWVuIHJlZ2FyZGxl
c3Mgd2hldGhlciB0aGUgbGluayB3YXMgdmlzaXRlZCBvciBub3QuPC9wPgo8L2JvZHk+CjwvaHRt
bD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>