Bug 65344 - Make external URL references work
Summary: Make external URL references work
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
: 90955 (view as bug list)
Depends on: 90955
Blocks: 44144 12499
  Show dependency treegraph
Reported: 2011-07-28 15:14 PDT by Rob Buis
Modified: 2017-12-03 20:20 PST (History)
9 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2011-07-28 15:14:10 PDT
Follow-up for https://bugs.webkit.org/show_bug.cgi?id=63283
Comment 1 Rob Buis 2011-07-30 09:12:33 PDT
Keeping this as a reminder for this bug:

> > Source/WebCore/css/SVGCSSStyleSelector.cpp:396
> > -            svgstyle->setMarkerEndResource(SVGURIReference::getTarget(s));
> > +            svgstyle->setMarkerEndResource(SVGURIReference::fragmentIdentifierFromIRIString(s, m_element->document()));
> Oops, we silently assume same-document references here! If we just extract the fragment identifier here, we're going to ignore any external URL.
> We should store the whole IRI string here, and lookup the targetelmenetForIRIString later in rendering/ when we actually use the marker end resource.
> That affects all usages of fragmentIdentifierFromIRIString - thery're all assuming same-doc refs, which is wrong.
> (Parts from our IRC discussion)


Comment 2 zbynek.jun 2011-08-24 16:03:39 PDT
Hi Rob,

  any progress on this issue ? Blocked #12499 is realy annoying for larger SVG applications.

Comment 3 Renata Hodovan 2011-09-01 13:18:12 PDT
Is anybody working on this bug? I'm interested in this topic and I'd like to work on it if there are no objections.
Comment 4 Alan Hogan 2012-06-10 23:52:24 PDT
Just want to follow this bug.
Comment 5 Lea Verou 2012-08-19 00:47:29 PDT
Is there any progress on this? It’s practically crippling any non-trivial use case for SVG.
Comment 6 Philip Rogers 2012-08-19 21:34:48 PDT
*** Bug 90955 has been marked as a duplicate of this bug. ***
Comment 7 Philip Rogers 2012-08-19 21:43:04 PDT
I believe this bug refers to external SVG references with fragment URIs? External url references should work fine, with the caveat that fragment URIs do not work due to this longstanding issue: https://bugs.webkit.org/show_bug.cgi?id=6007

If this is indeed about the fragment URI bug, we should mark it as a duplicate of https://bugs.webkit.org/show_bug.cgi?id=91791.

@Lea, to my knowledge nobody is working on this at the moment :(