W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2011

Re: [CSS3]text-transform-fullwidth-001.xht

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 16 Feb 2011 13:52:47 -0800
Message-ID: <4D5C472F.3040004@inkedblade.net>
To: taka oshiyama <oshiyama@est.co.jp>
CC: public-css-testsuite@w3.org
On 02/13/2011 10:21 PM, taka oshiyama wrote:
> Hi
> I submitted a new test case for your kind review. The test case is
> stored here!
> 
> http://test.csswg.org/source/contributors/east-tokyo/submitted/css3-text/text-transform-fullwidth-001.xht
> 
> Please let me know if you have any comments.

Hello Taka,
Koji has some good comments. Here is another one: in many cases
the fullwidth and halfwidth variants will look similar or identical in
their glyph shape, but have different advance widths so that they
are wider. In such cases, your test will be hard to evaluate correctly.

To fix this problem, I suggest you wrap each character in its own
<span> and give the <span> a background-color. Then instead of
placing the pairs side-by-side, place them over-under. This way the
width of the character can be easily evaluated whether or not the
glyph is the same size and shape.

~fantasai
Received on Wednesday, 16 February 2011 21:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 February 2011 21:53:37 GMT