Closed
Bug 281923
Opened 20 years ago
Closed 20 years ago
SVG crash and caveats on: <marker> <tspan> <linearGradient>
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: gtrebaol, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050210
Hello the SVG team!
I have recently downloaded Mozilla on my Windows-XP laptop
(Mozilla/5.0, Windows; U; Windows NT 5.1; en-US; rv:1.8b, Gecko/20050210)
and I am pleased to discover that Mozilla SVG now supports gradients.
In the zip file at http://gtrebaol.free.fr/bugzilla/svg_caveats.zip,
I send you 3 SVG files not yet displayed perfectly.
I suppose that the issues 2.2 and 2.3 are the most important, because using
multi-line text is much better than separate <text> elements. I have also
experimented other features like SVG textures and Javascript animations.
I could send additional test files if you want.
I am using either Mozilla SVG or MSIE6+Adobe SVG3, and now my
scripts for Mozilla are nearly the same as for Adobe, excepted for the
keyboard input, based on <html:input> for Mozilla SVG, but more complex
to develop with the Adobe viewer because it cannot mix HTML and SVG.
Mes félicitations et bon courage!
Gildas Trébaol (software engineer, in France).
Reproducible: Always
Steps to Reproduce:
1. load the joined file basic_shapes.svg
2. load the joined file web_app1.svg
3. load the joined file web_app2.svg
Actual Results:
1. caveat in basic_shapes.svg:
- the <defs> element is inside <g style="display:none">
- I had generated that for Mozilla SVG version 1.7.
because it did not support gradients.
1.1 - now the <g style="display:none"> element is useless, however
it should not inhibit the <linearGradient> contained in <defs>.
2. caveats in web_app1.svg
2.1 - the dashed lines are not supported yet.
2.2 - the <tspan> element does not inherit the geometric context of the<text>
parent, so the font size is not scaled and the position is wrong.
2.3 - the dy="..." attribute of <tspan> has no effect.
3. crash in web_app2.svg
3.1 - the following fragment crashes Mozilla:
<g style="display:none">
<defs>
<marker>
...
</marker>
</defs>
</g>
- this bug is perhaps related to the first issue described above.
Please file a seperate bug for each problem you're having. I've already
created a bug/patch for the <tspan> propagation problem - bug 281990.
Marking bug invalid as it's a collection of bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•