W3C home > Mailing lists > Public > public-i18n-cjk@w3.org > January to March 2011

Re: Using white-space: no-wrap to prevent breaking between CJK words/names

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 31 Jan 2011 09:58:22 -0800
Cc: Richard Ishida <ishida@w3.org>, www-style@w3.org, www International <www-international@w3.org>, public-i18n-cjk@w3.org
Message-Id: <73246568-1D79-4645-893E-466BAF9FDB24@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Jan 31, 2011, at 9:43 AM, Boris Zbarsky wrote:

> On 1/31/11 12:33 PM, Richard Ishida wrote:
>> Ambrose thought that no-wrap doesn't work in most browsers, so I put a
>> quick test case together at
>> http://www.w3.org/International/tests/test-incubator/nowrap-in-cjk/test1.html
> 
> Richard, thanks for that!
> 
> For what it's worth, it should be possible to test this without window resizing by just making the block containing the text width:0, so that all allowed breaks are taken.  That version should be quite amenable to automated testing and such.

For what it's worth, in Webkit (a recent nightly), "は石田で" is sticking together and NOT wrapping between any of those four characters, whereas I would have expected it to allow a break between "は" and "石" and between the "田" and "で". This is true for both versions of the test.
Received on Monday, 31 January 2011 17:59:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 January 2011 17:59:38 GMT