Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

text-decoration

0 views
Skip to first unread message

Pat

unread,
Jun 27, 2007, 10:05:03 AM6/27/07
to
Hi,

I'd like to display text with an underline in SVG. I tried the "text-
decoration" attribute but it doesn't seem to work in Firefox. Is this
attribute implemented in Firefox? Is there any workaround? Any help
would be appreciated. Thanks!!

Robert Longson

unread,
Jun 27, 2007, 5:54:26 PM6/27/07
to

It is not implemented. See https://bugzilla.mozilla.org/show_bug.cgi?id=317196

I guess you could just draw a line under the text. You could use
javascript and getBBox if necessary.

Robert

Pat

unread,
Jun 28, 2007, 2:52:08 AM6/28/07
to
On Jun 27, 11:54 pm, Robert Longson <longs...@gmail.com> wrote:
> On Jun 27, 3:05 pm, Pat <p...@devteam.ch> wrote:
>
> > Hi,
>
> > I'd like to display text with an underline in SVG. I tried the "text-
> > decoration" attribute but it doesn't seem to work in Firefox. Is this
> > attribute implemented in Firefox? Is there any workaround? Any help
> > would be appreciated. Thanks!!
>
> It is not implemented. Seehttps://bugzilla.mozilla.org/show_bug.cgi?id=317196

>
> I guess you could just draw a line under the text. You could use
> javascript and getBBox if necessary.
>
> Robert

Thanks for the reply. I'll try how you suggested.

0 new messages