<?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>44144</bug_id>
          
          <creation_ts>2010-08-17 17:26:55 -0700</creation_ts>
          <short_desc>References to markers in external SVG documents not applied.</short_desc>
          <delta_ts>2025-05-07 16:26:36 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>65344</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Hemesath">mike.hemesath</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cigitia</cc>
    
    <cc>ivan.enderlin</cc>
    
    <cc>karlcow</cc>
    
    <cc>krit</cc>
    
    <cc>rene.peinl</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>265866</commentid>
    <comment_count>0</comment_count>
      <attachid>64656</attachid>
    <who name="Mike Hemesath">mike.hemesath</who>
    <bug_when>2010-08-17 17:26:55 -0700</bug_when>
    <thetext>Created attachment 64656
SVG file containing the marker

If a path is given a marker-end reference that is external to its SVG document, that marker will not be applied.

Example: #myMarker located in marker.svg is not applied because it is external to the document the path is in.
&lt;path d=&quot;M0,30 h100&quot; stroke-width=&quot;10&quot; stroke=&quot;#000&quot; id=&quot;myPath&quot; marker-end=&quot;url(marker.svg#myMarker)&quot; /&gt; 

The marker is correctly applied on Firefox 3.6 and Opera 10.6

I will attach a working example that exposes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265873</commentid>
    <comment_count>1</comment_count>
    <who name="Mike Hemesath">mike.hemesath</who>
    <bug_when>2010-08-17 17:36:55 -0700</bug_when>
    <thetext>For whatever reason, the SVG document won&apos;t find the marker for any browser when it references the attachment. Here is a URL showing the issue:

http://www.mikehemesath.com/svg_markers/demo3/arrow.svg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265951</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2010-08-17 22:31:34 -0700</bug_when>
    <thetext>We don&apos;t support external SVG-resources right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>266065</commentid>
    <comment_count>3</comment_count>
    <who name="Mike Hemesath">mike.hemesath</who>
    <bug_when>2010-08-18 06:09:22 -0700</bug_when>
    <thetext>Given the behavior of the other browsers, specifically relating to bug https://bugs.webkit.org/show_bug.cgi?id=44047. Applying markers to SVG inline HTML5 documents using external stylesheets will be impossible to do until this is resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>942629</commentid>
    <comment_count>4</comment_count>
    <who name="René Peinl">rene.peinl</who>
    <bug_when>2013-10-23 02:45:23 -0700</bug_when>
    <thetext>This bug is pretty old, given the development speed of Webkit and still the problem exists, not only on Mac OS X, but also on Windows. 
Both Firefox and Opera until version 12 support this. Now that Opera switched to Webkit, it is not supported any more. IE10 does not support this. I don&apos;t know about IE11.
Can&apos;t you push the priority of this a little?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>64656</attachid>
            <date>2010-08-17 17:26:55 -0700</date>
            <delta_ts>2010-08-17 17:26:55 -0700</delta_ts>
            <desc>SVG file containing the marker</desc>
            <filename>marker.svg</filename>
            <type>image/svg+xml</type>
            <size>534</size>
            <attacher name="Mike Hemesath">mike.hemesath</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJ
QyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iCiAgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNz
L1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+Cjxzdmcgd2lkdGg9IjMwMHB4IiBoZWlnaHQ9IjE1MHB4
IiB2aWV3Qm94PSIwIDAgNDAwIDIwMCIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9z
dmciIHZlcnNpb249IjEuMSIKICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94
bGluayI+CiAgPGRlZnM+IAogICAgPG1hcmtlciBpZD0ibXlNYXJrZXIiIHZpZXdCb3g9IjAgMCAx
MCAxMCIgcmVmWD0iMCIgcmVmWT0iNSIKICAgICAgICAgICAgbWFya2VyVW5pdHM9InN0cm9rZVdp
ZHRoIiBtYXJrZXJXaWR0aD0iNCIgbWFya2VySGVpZ2h0PSIzIiBmaWxlPSIjMDAwIj4gCiAgICAg
IDxwYXRoIGQ9Ik0gMCAwIEwgMTAgNSBMIDAgMTAgeiIgZmlsbD0iIiAvPiAKICAgIDwvbWFya2Vy
PiAKICA8L2RlZnM+IAo8L3N2Zz4g
</data>

          </attachment>
      

    </bug>

</bugzilla>