User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20060124 Firefox/188.8.131.52 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20060124 Firefox/220.127.116.11 Some raster images are displayed with random content or not at all by svg:image. I've tried and resized various images of various sizes and aspect ratios, in PNG and JPEG formats, and concluded that it depends on the size of the source image: All images larger than about 64000 pixels (+/- a few dozens or hundreds) display nothing or random content, while all images smaller than 64000 pixels display correctly. The size and aspect ratio specified in the SVG file does not appear to affect this problem. Reproducible: Sometimes Steps to Reproduce: Load an SVG (or XHTML+SVG) file containing an svg:image that xlink:hrefs a raster image larger than about 64000 pixels (e.g., http://www.montefiore.ulg.ac.be/~piater/test/imagetest.svg) Actual Results: The image in question does not display, or it displays random content. I've even had it crash my X session once. This happens "almost" always; I've had the image display correctly on very rare occasions. In my imagetest.svg, there are two images side by side. The left one is just below 64000 pixels in size and displays correctly; the right one is one pixel wider and one pixel higher, thus more than 64000 pixels in size, and does not display correctly. Moreover, reloading the page tends to change whatever is displayed in its place. Expected Results: Display the file correctly, including the image in question. This is the latest official Firefox. I've also reproduced the problem with a snapshot build downloaded today, with a Gecko engine dated 11 March 2006.
Neither of the images there are anywhere near 64000px; both in the SVG and with the original image file, they appear to be ~200px.
Justus, can you recheck your testcase please?
Appears to work flawlessly now, with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:18.104.22.168) Gecko/20071004 Iceweasel/22.214.171.124 (Debian-126.96.36.199+188.8.131.52-0etch1).
Okay, closing as worksforme now then. Thanks for checking.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.