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

Re: text-intro-05-t

From: Erik Dahlstrom <ed@opera.com>
Date: Wed, 08 Dec 2010 10:11:04 +0100
To: public-svg-wg@w3.org
Message-ID: <op.vnd04nvigeuyw5@localhost>
On Wed, 08 Dec 2010 04:03:15 +0100, Cameron McCormack <cam@mcc.id.au>  
wrote:

> While looking at generating a reference image for text-intro-05-t, I
> find that all of Firefox, Opera, Chrome/Safari and Batik all render the
> test in a way that visually looks incorrect:
>
>   http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectMiniApproved/text-intro-05-t.html
>
> (Note that the reference image is missing, too, which is why I was
> looking at it.)
>
> Do we actually have two implementations that pass this test?

Since the test is identical to the test in the 1.2T testsuite [0] (apart  
 from template changes) and because 1.2T is a recommendation already I  
think it should follow that there exists at least two implementations that  
pass this test.

However, since you brought it up I went and checked the 1.1F2 spec, and it  
seems we still need to clarify the 'text-anchor', 'direction' and  
'bidi-override' properties for RTL text similarly to what we did for 1.2T.  
This was requested by the i18n group a long time ago. Since I take it we  
want to align bidi-handling in SVG with how it's done in CSS/HTML I  
suggest backporting the wording from 1.2T (relevant commits can be seen  
here[1]).

I also took the liberty of adding a new test [2], based on a corresponding  
i18n CSS/HTML test [3]. I used text-anchor=middle in the test to ensure  
that all the text stays inside the viewport.

Status for the new bidi test [2]:
Pass: Opera 10.63, Batik 1.7, IE9p7
Fail: Firefox 4.0b8, Chrome 8
Partial: ASV3 (correct order, but not doing joining)

Cheers
/Erik

[0] http://dev.w3.org/SVG/profiles/1.2T/test/svg/text-intro-05-t.svg
[1] http://dev.w3.org/cvsweb/SVG/profiles/1.2T/master/text.html
[2] http://dev.w3.org/SVG/profiles/1.1F2/test/svg/text-bidi-01-t.svg
[3]  
http://www.w3.org/International/tests/tests-html-css/tests-bidi-markup/generate?test=12&format=xhtml

-- 
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 09:11:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 December 2010 09:11:41 GMT