<?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>139155</bug_id>
          
          <creation_ts>2014-12-01 14:56:43 -0800</creation_ts>
          <short_desc>Changing the ID of an SVG element in the &lt;defs&gt; section should be reflected in the SVG if it has any element which is referencing the changed defined element.</short_desc>
          <delta_ts>2023-12-22 19:25:20 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=99893</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=96349</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, LayerBasedSVGEngine</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</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>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1051620</commentid>
    <comment_count>0</comment_count>
      <attachid>242348</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-12-01 14:56:43 -0800</bug_when>
    <thetext>Created attachment 242348
dynamic changes to the element for a given ID are reflected in textPath

Open the attached test file.  Compare it with the expected file.  They should be identical.

Changing the ID of an element in the &lt;defs&gt; section should be reflected in the SVG if it has any element which is referencing the changed defined element.

NOTE: The attached file is a test file imported from Mozilla svg test suite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051621</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-12-01 14:57:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/19107404&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1051622</commentid>
    <comment_count>2</comment_count>
      <attachid>242349</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2014-12-01 14:57:34 -0800</bug_when>
    <thetext>Created attachment 242349
Expected file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883686</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-14 11:25:45 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and Safari Technical Preview 148 using attached test case (named - dynamic changes...) while all other browsers (Chrome Canary 105 and Firefox Nightly 104) works as expected and matches with the output of &quot;Expected file&quot;. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966578</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-13 03:13:03 -0700</bug_when>
    <thetext>Possible Merge? https://chromium.googlesource.com/chromium/src.git/+/a5e8a760a9457ad814990c5cad81c6dba79d141f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968471</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-07-27 10:25:46 -0700</bug_when>
    <thetext>This appears fixed in STP174.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968472</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-27 10:28:04 -0700</bug_when>
    <thetext>(In reply to Ryosuke Niwa from comment #5)
&gt; This appears fixed in STP174.

I am still able to reproduce this on STP174.

It does not show any text while Chrome Canary 117 show &apos;Should see this&apos; as expected test file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968474</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-27 10:35:31 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #6)
&gt; (In reply to Ryosuke Niwa from comment #5)
&gt; &gt; This appears fixed in STP174.
&gt; 
&gt; I am still able to reproduce this on STP174.
&gt; 
&gt; It does not show any text while Chrome Canary 117 show &apos;Should see this&apos; as
&gt; expected test file.

OK, if I open &apos;Developer Tools&apos; then the text start showing up. :-?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242348</attachid>
            <date>2014-12-01 14:56:43 -0800</date>
            <delta_ts>2014-12-01 14:56:43 -0800</delta_ts>
            <desc>dynamic changes to the element for a given ID are reflected in textPath</desc>
            <filename>dynamic-textPath-01.svg</filename>
            <type>image/svg+xml</type>
            <size>952</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PCEtLQogICAgIEFueSBjb3B5cmlnaHQgaXMgZGVkaWNhdGVkIHRvIHRoZSBQdWJsaWMgRG9tYWlu
LgogICAgIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8K
LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEi
IHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICA8dGl0bGU+VGVz
dGluZyB0aGF0IGR5bmFtaWMgY2hhbmdlcyB0byB0aGUgZWxlbWVudCBmb3IgYSBnaXZlbiBJRCBh
cmUgcmVmbGVjdGVkIGluIHRleHRQYXRoPC90aXRsZT4KICA8IS0tIEZyb20gaHR0cHM6Ly9idWd6
aWxsYS5tb3ppbGxhLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NDU4MDEwIC0tPgogIDxkZWZzPgoJICA8
cGF0aCBpZD0ieCIgZD0iTSA3NS41IDEwMCBoIDI1MSIvPgogIDwvZGVmcz4KCQogIDx0ZXh0PgoJ
ICA8dGV4dFBhdGggeGxpbms6aHJlZj0iI20xIiBmb250LXNpemU9IjIwIiBmaWxsPSJibGFjayI+
U2hvdWxkIHNlZSB0aGlzPC90ZXh0UGF0aD4KICA8L3RleHQ+CgogIDxzY3JpcHQ+CiAgCiAgZnVu
Y3Rpb24gZG9UZXN0KCkgewogICAgLy8gY2hlY2sgdGhhdCBjaGFuZ2luZyBhbiBpZCB0byAibTEi
IGxldHMgbDEgZmluZCBpdAogICAgdmFyIHggPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgieCIp
OwogICAgeC5zZXRBdHRyaWJ1dGUoImlkIiwgIm0xIik7CgogICAgZG9jdW1lbnQuZG9jdW1lbnRF
bGVtZW50LnJlbW92ZUF0dHJpYnV0ZSgiY2xhc3MiKTsKICAgIGlmICh3aW5kb3cudGVzdFJ1bm5l
cikKICAgICAgdGVzdFJ1bm5lci5ub3RpZnlEb25lKCk7CiAgICB9CiAgICAKICBpZiAod2luZG93
LnRlc3RSdW5uZXIpCiAgICB0ZXN0UnVubmVyLndhaXRVbnRpbERvbmUoKTsKICAgIAogIHNldFRp
bWVvdXQoZG9UZXN0LCAxMDApOwoKICA8L3NjcmlwdD4KPC9zdmc+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>242349</attachid>
            <date>2014-12-01 14:57:34 -0800</date>
            <delta_ts>2014-12-01 14:57:34 -0800</delta_ts>
            <desc>Expected file</desc>
            <filename>dynamic-textPath-01-expected.svg</filename>
            <type>image/svg+xml</type>
            <size>515</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PCEtLQogICAgIEFueSBjb3B5cmlnaHQgaXMgZGVkaWNhdGVkIHRvIHRoZSBQdWJsaWMgRG9tYWlu
LgogICAgIGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8K
LS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEi
IHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICA8dGl0bGU+UmVm
ZXJlbWNlIGZvciBkeW5hbWljIGNoYW5nZXMgdG8gdGV4dFBhdGg8L3RpdGxlPgogIDwhLS0gRnJv
bSBodHRwczovL2J1Z3ppbGxhLm1vemlsbGEub3JnL3Nob3dfYnVnLmNnaT9pZD00NTgwMTAgLS0+
CiAgPGRlZnM+CgkgIDxwYXRoIGlkPSJtMSIgZD0iTSA3NS41IDEwMCBoIDI1MSIvPgogIDwvZGVm
cz4KCQogIDx0ZXh0PgoJICA8dGV4dFBhdGggeGxpbms6aHJlZj0iI20xIiBmb250LXNpemU9IjIw
IiBmaWxsPSJibGFjayI+U2hvdWxkIHNlZSB0aGlzPC90ZXh0UGF0aD4KICA8L3RleHQ+Cjwvc3Zn
Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>