<?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>255114</bug_id>
          
          <creation_ts>2023-04-06 13:43:41 -0700</creation_ts>
          <short_desc>Wave animation on https://deploy-preview-14--unas-new-site.netlify.app/ doesn&apos;t work in Safari</short_desc>
          <delta_ts>2025-10-16 23:43:39 -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>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=173154</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=111927</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=296048</see_also>
          <bug_file_loc>https://deploy-preview-14--unas-new-site.netlify.app/</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 name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>graouts</cc>
    
    <cc>karlcow</cc>
    
    <cc>koivisto</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>una.kravets</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1947106</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-04-06 13:43:41 -0700</bug_when>
    <thetext>Load https://deploy-preview-14--unas-new-site.netlify.app/ in Firefox and note the nice wave animation on the lower edge of the header. Now load in Safari; the wave animation is not there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947107</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-06 13:44:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/107725408&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947108</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-04-06 13:44:57 -0700</bug_when>
    <thetext>The animation is driven by:

.wave:where(.astro-J7PV25F6) {
    display:block;
    width:100%;
    height:clamp(2rem, 5vw, 10rem);
    margin:0;
    z-index:0;
    bottom:0
}

#page-divide:where(.astro-J7PV25F6) {
    animation:moveforward 10s linear infinite
}

@keyframes moveforward {
    0% {
        transform:translate(-90px)
    }

    to {
        transform:translate(85px)
    }
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947109</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-04-06 13:46:20 -0700</bug_when>
    <thetext>Looks like we fail to animation the &lt;path&gt; inside the &lt;defs&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947238</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-07 00:21:11 -0700</bug_when>
    <thetext>Presumably a &lt;path&gt; within a &lt;defs&gt; does not have a renderer, and I guess we bail out of the accelerated animation code which does not account for this possibility.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947320</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-07 10:25:21 -0700</bug_when>
    <thetext>Actually, we correctly animate the transform. This is probably something SVG-specific about updating the shadow tree rendering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947321</commentid>
    <comment_count>6</comment_count>
      <attachid>465812</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-07 10:32:24 -0700</bug_when>
    <thetext>Created attachment 465812
Test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947322</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-07 10:35:19 -0700</bug_when>
    <thetext>I think we need to call a method on SVGElement to notify that the style changed due to an animation which would then call invalidateInstances().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947326</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-04-07 10:40:41 -0700</bug_when>
    <thetext>I wonder if we should add a new virtual method to StyledElement to notify when the animated style changed which would allow SVGElement to override. We could then call this method at the end of Style::TreeResolver::createAnimatedElementUpdate(), or somewhere else?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151899</commentid>
    <comment_count>9</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-10-16 17:39:30 -0700</bug_when>
    <thetext>It works on Safari Technology Preview 230 (Tahoe) now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151955</commentid>
    <comment_count>10</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-10-16 23:09:57 -0700</bug_when>
    <thetext>Nice! Must be a recent progression since this fails in Safari 26.0.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151961</commentid>
    <comment_count>11</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2025-10-16 23:43:39 -0700</bug_when>
    <thetext>Somewhat surprisingly, this progressed with 300706@main, the fix for bug 296048.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>465812</attachid>
            <date>2023-04-07 10:32:24 -0700</date>
            <delta_ts>2023-04-07 10:32:24 -0700</delta_ts>
            <desc>Test</desc>
            <filename>bug-255114.html</filename>
            <type>text/html</type>
            <size>608</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">PHN0eWxlPgoKLndhdmUgewogICAgd2lkdGg6IDEwMCU7CiAgICBoZWlnaHQ6IDEwMHB4Owp9Cgoj
cGFnZS1kaXZpZGUgewogICAgYW5pbWF0aW9uOiBtb3ZlZm9yd2FyZCAxMHMgbGluZWFyIGluZmlu
aXRlOwp9CgpAa2V5ZnJhbWVzIG1vdmVmb3J3YXJkIHsKICAgIGZyb20geyB0cmFuc2Zvcm06dHJh
bnNsYXRlKC05MHB4KSB9CiAgICB0byAgIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZSg4NXB4KSB9Cn0K
Cjwvc3R5bGU+Cgo8c3ZnIGNsYXNzPSJ3YXZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAw
MC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94
PSIwIDI0IDE1MCAyOCAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgogICAgPGRlZnM+CiAg
ICAgICAgPHBhdGggaWQ9InBhZ2UtZGl2aWRlIiB4PSI1MCIgZD0iTS0xNjAgNDRjMzAgMCA1OC0x
OCA4OC0xOHM1OCAxOCA4OCAxOCA1OC0xOCA4OC0xOCA1OCAxOCA4OCAxOCB2NDRoLTM1MnoiPjwv
cGF0aD4KICAgIDwvZGVmcz4KICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhZ2UtZGl2aWRlIiB4PSI1
MCIgZmlsbD0idmFyKC0tcGFnZS1iZykiPjwvdXNlPgo8L3N2Zz4=
</data>

          </attachment>
      

    </bug>

</bugzilla>