User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050912 Firefox/1.6a1 SVG specification allow nested SVG gradients like this: <linearGradient id="gradientSRGB" color-interpolation="sRGB" xlink:href="url(#gradient)" > </linearGradient> <linearGradient id="gradientLRGB" color-interpolation="linearRGB" xlink:href="url(#gradient)" > </linearGradient> but this code will crash Mozilla!!! Reproducible: Always Steps to Reproduce: please open test case, if you will crash Mozilla :-) Actual Results: crash
Comment on attachment 196662 [details] test case ADOBE SVG Viewer 3 render this graphics uncorrectly too!!! (KSVG works good.)
The crash was fixed in bug 307742. However, with a patched FF the gradient doesn't show on the second and third rect for some reason so leaving this open for now.
Severity: critical → normal
OS: All → Windows XP
Summary: nested SVG gradients will crash Mozilla → incorrect rendering of nested SVG gradients
This bug should be marked CLOSED. The reason the second and third gradients don't show is that the example uses "url(#gradient)" as an XLINK target. While the "url()" syntax is supported for SVG attributes, its not supported by xlink:href. Change the example to xlink:href="#gradient" and the example renders as expected.
Oh, quite right. I should have noticed that. Marking invalid then.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.