Bug 16070
Summary: | "Curly Logo" Text on <textPath> not visible on this page | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ddkilzer, drj, zimmermann |
Priority: | P2 | Keywords: | NeedsReduction |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.amberfrog.com/logo/ |
Eric Seidel (no email)
"Curly Logo" Text on <textPath> not visible on this page
See how firefox displays the "curly logo" text in the upper-left corner.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Jones
I reduced it to this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//CL//DTD XHTML 1.0 Transitional plus Embed//EN"
"http://www.w3.org/Graphics/xhtml1-transitional-plus-embed.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WebKit bug 16070</title>
<style type="text/css">
div#vp {
background-color: linen;
}
</style>
</head>
<body>
<div id="vp">
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<path id='p2' d='M50 100h200' stroke='brown' fill='none' />
<text stroke='none' fill='red' font-size='20'>
<textPath xlink:href='#p2'>Spong</textPath>
</text>
</svg>
</div>
</body>
</html>
Which also doesn't work. It draws a brown line but then doesn't draw any text on it. It should say "Spong" in red letters.
Then I had a bright idea. This SVG from the SVG Spec doesn't work either:
http://www.w3.org/TR/SVG/images/text/toap01.svg
(see http://www.w3.org/TR/SVG/text.html#TextPathElement )
So it looks like any use of textPath doesn't work.
Nikolas Zimmermann
You guys are testing with Safari release - all of the mentioned examples work in trunk.
Please clarify, so we can close the bug.
David Jones
Well, I don't feel that I can clarify any more, but I can verify that the URL now renders acceptably in, er, how do I tell what version of WebKit I am running?, anyway the latest nightly build as of 2 minutes ago.
In my defence I would never have knowingly specified the version as "525+". ;)
David Kilzer (:ddkilzer)
(In reply to comment #3)
> Well, I don't feel that I can clarify any more, but I can verify that the URL
> now renders acceptably in, er, how do I tell what version of WebKit I am
> running?, anyway the latest nightly build as of 2 minutes ago.
>
> In my defence I would never have knowingly specified the version as "525+". ;)
We normally use the svn revision number ("rNNNNN") to specify a specific WebKit Nightly build.
http://nightly.webkit.org/
Eric Seidel (no email)
Hum. I'm actually the one who should be defending... especially since I should know better.
I guess I was also too tired @ 6AM to remember that <textPath> was only implemented *after* Safari 3 shipped. Actually, I think it was implemented several months *before* Safari 3 shipped, but on a branch, and that branch was only merged after Safari 3 shipped.
Thanks for the bug and reduction drj. Sorry to send you on a wild goose chase reducing.