Bug 23894

Summary: <image> elements within SVGImage documents won't load
Product: WebKit Reporter: jay <jay>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: krit, rwlbuis, zimmermann
Priority: P2 Keywords: HasReduction, Regression
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://www.w3.org/Graphics/SVG/Test/20061213/svgHarness/full-color-prof-01-f.svg

Description jay 2009-02-11 10:10:47 PST
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="any.jpg" x="0" y="0" height="200" width="200" />
</svg>

from other bugs it seems this is a regression.
jpg can be local, remote, or another domain, nothing works for me.

eg URL given above does not display png
but does of course using:
http://www.w3.org/Graphics/SVG/Test/20061213/png/full-color-prof-01-f.png
note this is same domain!

marking as regression as other bugs appear to indicate this worked in the past.
Comment 1 Eric Seidel (no email) 2009-02-11 10:43:37 PST
I think what you're saying is that <svg:image xlink:href="anyimage.jpg"> doesn't work?

So in other words, that image display and loading seems to be broken for the svg <image> tag.  I've not yet verified in ToT, but I have seen that in my Safari 4 developer preview it loads just fine.
Comment 2 jay 2009-02-11 13:45:24 PST
#1
yup, that's the code in the example, I'm using the latest nightlies
safari: Version 3.2.1 (5525.27.1)
WebKit r40813
Comment 3 Dirk Schulze 2009-12-15 11:00:52 PST
I guess you mean the link at URL that does not work. SVG supports the <image> element and of course it supports jpg,png,...

The example behind the url is different. It renders an SVG as Image. The SVG that is displayed via the image element contains images itself. And this images are not displayed. Looks like a external resource can't load other external resources. 

Is it that what you mean?
Comment 4 Alexey Proskuryakov 2009-12-15 14:13:47 PST
Which sounds like bug 15443.
Comment 5 jay 2009-12-16 13:15:32 PST
Dirk & Alexey this is an os x bug, are you testing on os X?

Version 4.0.4 (5531.21.10, r51490)

10.5.8 ppc

can check on intel as required

confirm using description svg image does not load a local jpg file
Comment 6 Nikolas Zimmermann 2011-06-01 04:46:25 PDT
Changing the bug title to something meaningful.
Comment 7 Rob Buis 2011-06-28 13:39:28 PDT

*** This bug has been marked as a duplicate of bug 63548 ***