W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2010

Re: animate-elem-77-t issue

From: Erik Dahlstrom <ed@opera.com>
Date: Wed, 08 Dec 2010 15:47:16 +0100
To: public-svg-wg@w3.org
Message-ID: <op.vnegozitgeuyw5@localhost>
On Tue, 07 Dec 2010 05:05:19 +0100, Cameron McCormack <cam@mcc.id.au>  
wrote:

> While going through the test suite today, I find that animate-elem-77-t
> fails in Firefox.  If you run it, you’ll notice that the text-anchor
> animations aren’t lining up with the grey silhouette on the right.  This
> is due to whitespace in the markup, and text-anchor treating that
> whitespace as part of the text to align.  Would someone be able to quote
> the spec to state how this is justified?  I couldn’t from a brief look
> at http://www.w3.org/TR/SVG/text.html#WhiteSpace.
> If it is not justified, then I’m happy to edit the test to remove the
> whitespace from those subtests to avoid the problem.

It's xml:space=default, and leading and trailing whitespace must be  
stripped as I read the spec. If they are stripped how can they contribute  
to the computed length?

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Wednesday, 8 December 2010 14:47:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 December 2010 14:47:54 GMT