Closed Bug 385675 Opened 17 years ago Closed 17 years ago

svg text baseline-shift not supported

Categories

(Core :: SVG, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 308338

People

(Reporter: syfre92, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

example (works with adobe plugin) :

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<g>
<line id="axis" x1="0" y1="25" x2="100" y2="25" style="stroke-width:1;stroke:black"/>
<text x="50" y="25" style="text-anchor:middle; font-size:8;baseline-shift:110%">over the line</text>
<line id="axis" x1="0" y1="50" x2="100" y2="50" style="stroke-width:1;stroke:black"/>
<text x="50" y="50" style="text-anchor:middle; font-size:8;">on the line</text>
<line id="axis" x1="0" y1="75" x2="100" y2="75" style="stroke-width:1;stroke:black"/>
<text x="50" y="75" style="text-anchor:middle; font-size:8;baseline-shift:-110%">under the line</text>
</g>
</svg>

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
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.