Bug 23894
| Summary: | <image> elements within SVGImage documents won't load | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | jay <jay> |
| Component: | SVG | Assignee: | 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 | ||
jay
<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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
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.
jay
#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
Dirk Schulze
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?
Alexey Proskuryakov
Which sounds like bug 15443.
jay
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
Nikolas Zimmermann
Changing the bug title to something meaningful.
Rob Buis
*** This bug has been marked as a duplicate of bug 63548 ***