Bug 15042 - SVG text baseline-shift being ignored
Summary: SVG text baseline-shift being ignored
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 14:19 PDT by Glenn Brauen
Modified: 2007-09-24 08:16 PDT (History)
2 users (show)

See Also:


Attachments
SVG file that displays text samples with and without baseline-shift. (795 bytes, image/svg+xml)
2007-08-21 14:21 PDT, Glenn Brauen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Brauen 2007-08-21 14:19:35 PDT
Webkit ignores the baseline-shift specification for SVG text.  I will attach a simple SVG file that demonstrates this problem.  This example is rendered properly in Batik.  Both Firefox and Webkit show this defect.

I have tested on both PPC and Intel Macs.

Confirmed on webkit nightlys (r25168).
Comment 1 Glenn Brauen 2007-08-21 14:21:06 PDT
Created attachment 16064 [details]
SVG file that displays text samples with and without baseline-shift.
Comment 2 Amos Hayes 2007-08-22 07:06:53 PDT
The MIME type of the test case should be image/svg+xml but I don't appear to have permission to change it.
Comment 3 Glenn Brauen 2007-08-22 08:31:33 PDT
(In reply to comment #1)
> This example is rendered properly in Batik.  Both Firefox and Webkit show this defect.

Adobe SVG Viewer 3.0 (3.0, Build 76) also renders this example correctly.
Comment 4 Rob Buis 2007-08-23 23:55:17 PDT
Hi Glenn,

(In reply to comment #0)
> Webkit ignores the baseline-shift specification for SVG text.  I will attach a
> simple SVG file that demonstrates this problem.  This example is rendered
> properly in Batik.  Both Firefox and Webkit show this defect.
> 
> I have tested on both PPC and Intel Macs.
> 
> Confirmed on webkit nightlys (r25168).

Thnx for the report!
I checked on our development branch and can confirm that it works there. We hope to make that available soon and then the nightlies will have this functionality.
Cheers,

Rob.
Comment 5 Glenn Brauen 2007-08-24 13:01:45 PDT
(In reply to comment #4)
> I checked on our development branch and can confirm that it works there. We
> hope to make that available soon and then the nightlies will have this
> functionality.

Rob, 

Thanks for the update.

Glenn
Comment 6 Eric Seidel (no email) 2007-09-24 08:16:01 PDT
Closing.  The bug is fixed on feature-branch.  IMO there could/should just be a bug "merge feature branch into trunk" which folks waiting on feature-branch fixes can watch.

(Nice test case, btw.  Thanks for the bug!)