<?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>268376</bug_id>
          
          <creation_ts>2024-01-30 06:16:11 -0800</creation_ts>
          <short_desc>[LegacySVG] SVG Marker is not showing if added in the next animation frame</short_desc>
          <delta_ts>2025-12-22 19:52:46 -0800</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 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roman Bruckner">bruckner.roman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>alexander</cc>
    
    <cc>caleb</cc>
    
    <cc>graouts</cc>
    
    <cc>rbuis</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2008909</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Bruckner">bruckner.roman</who>
    <bug_when>2024-01-30 06:16:11 -0800</bug_when>
    <thetext>The SVG Marker is not displayed if the `marker-start` attribute is added in `requestAnimationFrame`.

Here’s the minimum reproducible example: https://jsfiddle.net/kumilingus/k90h2Lt1/

Expected: The SVG path has the marker displayed.
Actual: No SVG marker is shown It works in all other browsers.

It used to work (not sure about the specific version). The bug has been introduced recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008940</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-30 07:46:56 -0800</bug_when>
    <thetext>I am able to reproduce this bug on Safari 17.3 and WebKit ToT (273745@main).

@Roman - does this use to work earlier in Safari 16 or Safari 17.x? If yes, can you share the version number, it would be helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008954</commentid>
    <comment_count>2</comment_count>
    <who name="Roman Bruckner">bruckner.roman</who>
    <bug_when>2024-01-30 08:11:53 -0800</bug_when>
    <thetext>@ahmad Safari 16.6 is broken too. Sorry, that&apos;s all I know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010977</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-06 06:17:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/122384358&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015040</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Nestorov">alexander</who>
    <bug_when>2024-02-19 01:58:44 -0800</bug_when>
    <thetext>The jsfiddle works as expected in Safari 15.6.1 (17613.3.9.1.16), but it doesn&apos;t in Safari 16.4.1 (17615.1.26.101.10, 17615). Both tested in Monterey 12.5.1.

Something got broken in between, maybe git bisect will be helpful?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020762</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2024-03-13 10:47:25 -0700</bug_when>
    <thetext>This is great information, I should be able to find the commit where this regressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020952</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2024-03-14 01:22:33 -0700</bug_when>
    <thetext>Going as far back as 253434@main, this bug reproduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026013</commentid>
    <comment_count>7</comment_count>
    <who name="Alexander Nestorov">alexander</who>
    <bug_when>2024-04-04 10:21:59 -0700</bug_when>
    <thetext>If I&apos;m reading correctly the relation between safari and webkit engine version, the bug should be somewhere between 613.3.9 and 615.1.26. Is that correct?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038769</commentid>
    <comment_count>8</comment_count>
    <who name="Caleb Hearon">caleb</who>
    <bug_when>2024-05-30 07:51:39 -0700</bug_when>
    <thetext>I just encountered this bug. I don&apos;t think it has to do with RAF, but rather any change after the first render. The work-around is to remove the SVG element from the DOM and then add it back.

Here&apos;s the repro I made, with repro on the first button click, work-around on the second:

https://jsfiddle.net/51wgsby4/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2167899</commentid>
    <comment_count>9</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-12-22 19:52:46 -0800</bug_when>
    <thetext>Progressed with 304880@main.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>