Bug 44144 - References to markers in external SVG documents not applied.
Summary: References to markers in external SVG documents not applied.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 65344
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-17 17:26 PDT by Mike Hemesath
Modified: 2017-12-03 20:18 PST (History)
6 users (show)

See Also:


Attachments
SVG file containing the marker (534 bytes, image/svg+xml)
2010-08-17 17:26 PDT, Mike Hemesath
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hemesath 2010-08-17 17:26:55 PDT
Created attachment 64656 [details]
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.
<path d="M0,30 h100" stroke-width="10" stroke="#000" id="myPath" marker-end="url(marker.svg#myMarker)" /> 

The marker is correctly applied on Firefox 3.6 and Opera 10.6

I will attach a working example that exposes the issue.
Comment 1 Mike Hemesath 2010-08-17 17:36:55 PDT
For whatever reason, the SVG document won'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
Comment 2 Dirk Schulze 2010-08-17 22:31:34 PDT
We don't support external SVG-resources right now.
Comment 3 Mike Hemesath 2010-08-18 06:09:22 PDT
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.
Comment 4 René Peinl 2013-10-23 02:45:23 PDT
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't know about IE11.
Can't you push the priority of this a little?