Closed
Bug 309172
Opened 19 years ago
Closed 19 years ago
incorrect rendering of nested SVG gradients
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: martin.hejral, Unassigned)
Details
Attachments
(2 files)
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
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Comment on attachment 196662 [details]
test case
ADOBE SVG Viewer 3 render this graphics uncorrectly too!!! (KSVG works good.)
Comment 3•19 years ago
|
||
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
Reporter | ||
Updated•19 years ago
|
Summary: nested SVG gradients will crash Mozilla → incorrect rendering of nested SVG gradients
Comment 4•19 years ago
|
||
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.
Comment 5•19 years ago
|
||
Oh, quite right. I should have noticed that. Marking invalid then.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 6•19 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•