W3C home > Mailing lists > Public > www-style@w3.org > January 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 18:03:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:55 UTC