Closed
Bug 401102
Opened 17 years ago
Closed 17 years ago
baseline-shift, supershift do not display in SVG graphic files.
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 308338
People
(Reporter: PBRISTOW, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
baseline-shift, supershift do not display in SVG graphic files.
So graphs cannot be labelled correction with X-axis like area (m^2)
SVG baseline-shift = "super" has NO effect.
This is a major problem for my application and many others trying to show sub and superscript :-((
There are some reports of this before some time ago, but no fixes.
(and IE is fine).
Reproducible: Always
Steps to Reproduce:
Create an svg file just the following:
<?xml version='1.0' standalone='no'?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg version='1.1' xmlns='http://www.w3.org/2000/svg'>
<g fill ='red'>
<text x ='10' y ='25' font-size ='130%'>
<tspan>
e = mc
<tspan baseline-shift ='super' dx='-4' dy='1' style='font-size:60%;'>
2
</tspan>
</tspan>
</text>
</g>
</svg>
It should display the famous equation with a superscript 2 of course.
But the 2 is on the line instead of above it.
Actual Results:
e = mc2
Expected Results:
e = mc ^2
Made the 2 a superscript.
Updated•17 years ago
|
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•