<?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>173154</bug_id>
          
          <creation_ts>2017-06-09 05:15:17 -0700</creation_ts>
          <short_desc>CSS animations are not working inside SVG symbols</short_desc>
          <delta_ts>2025-10-17 05:01:04 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=255114</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=296048</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kari.pihkala</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>clopez</cc>
    
    <cc>dino</cc>
    
    <cc>effrenus</cc>
    
    <cc>graouts</cc>
    
    <cc>graouts</cc>
    
    <cc>jonlee</cc>
    
    <cc>mspooner</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1317358</commentid>
    <comment_count>0</comment_count>
      <attachid>312428</attachid>
    <who name="">kari.pihkala</who>
    <bug_when>2017-06-09 05:15:17 -0700</bug_when>
    <thetext>Created attachment 312428
Symbol CSS Animation Test Case

CSS animations are not run for elements inside &lt;symbol&gt; SVG elements.

The attached &apos;Symbol CSS Animation Test Case&apos; shows three rectangles. The red ones are symbols and the green one is not. Only the green one is rotating. I would expect to see all three rectangles rotating.

Chrome and Firefox show all three rectangles rotating.

Tested on Safari Technology Preview Release 32 (Safari 11.0, WebKit 12604.1.23.0.4) and Safari 10.1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1318280</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-06-12 10:31:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/32715981&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774709</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey">effrenus</who>
    <bug_when>2021-07-04 02:11:54 -0700</bug_when>
    <thetext>Hi, thank you for your work.

We seems experiencing the same problem, CSS animation doesn&apos;t work for us inside SVG `symbol`s when inserting with `use` element.

Test case:
https://codepen.io/iamobstinado/pen/zYwvaXW?editors=1000

Tested in browsers:

macOS Catalina (10.15.7)
* Chrome 91.0.4472.114 ✅
* Firefox 89.0.2 ✅
* Safari 14.1.1 ❌

macOS Big Sur (11.4)
* Chrome 91.0.4472.114 ✅
* Firefox 89.0.2 ✅
* Safari 14.1.1 ❌

✅ – animation works
❌ – animation doesn&apos;t work

Is there any updates, is it expected behaviour according SVG specs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937373</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-28 05:40:38 -0800</bug_when>
    <thetext>It is not working on WebKit ToT (260935@main) as well. Works fine in Chrome Canary 113 and Firefox Nightly 112.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947876</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-11 01:31:56 -0700</bug_when>
    <thetext>Could be related to bug 255114.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151898</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-10-16 17:35:19 -0700</bug_when>
    <thetext>It seems to be working now on Safari Technology Preview 230 (Tahoe).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151963</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-10-16 23:47:09 -0700</bug_when>
    <thetext>Somewhat surprisingly, this progressed with 300706@main, the fix for bug 296048.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152010</commentid>
    <comment_count>7</comment_count>
    <who name="">kari.pihkala</who>
    <bug_when>2025-10-17 05:01:04 -0700</bug_when>
    <thetext>Yes, it seems to work in Safari Tech Preview Release 230 (WebKit 21623.1.11.19.3). Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>312428</attachid>
            <date>2017-06-09 05:15:17 -0700</date>
            <delta_ts>2017-06-09 05:15:17 -0700</delta_ts>
            <desc>Symbol CSS Animation Test Case</desc>
            <filename>symbol-css-animate.svg</filename>
            <type>image/svg+xml</type>
            <size>750</size>
            <attacher>kari.pihkala</attacher>
            
              <data encoding="base64">PHN2ZyB2aWV3Qm94PSIwIDAgMzIwIDI0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAv
c3ZnIgogICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KCjxz
dHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CkBrZXlmcmFtZXMgbXlyb3RhdGUgewogICAwJSB7IHRyYW5z
Zm9ybTogcm90YXRlKDBkZWcpOyB9CiAxMDAlIHsgdHJhbnNmb3JtOiByb3RhdGUoMzYwZGVnKTsg
fQp9C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