W3C home > Mailing lists > Public > www-style@w3.org > May 2012

RE: [css3-text] Default UA stylesheet for Korean has "word-break: keep-all"

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Sun, 6 May 2012 03:18:07 -0400
To: "www-style@w3.org" <www-style@w3.org>
CC: "CJK discussion (public-i18n-cjk@w3.org)" <public-i18n-cjk@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0D3C3C806E@MAILR001.mail.lan>
I've got several replies at public-html-ig-ko and public-i18n-cjk to support the fix[1], and this is fixed now.

[1] http://lists.w3.org/Archives/Public/public-i18n-cjk/2012AprJun/

Regards,
Koji

-----Original Message-----
From: Koji Ishii [mailto:kojiishi@gluesoft.co.jp] 
Sent: Saturday, May 05, 2012 3:38 AM
To: www-style@w3.org
Subject: [css3-text] Default UA stylesheet for Korean has "word-break: keep-all"

It's informative, but the current default UA stylesheet[1] contains:

| /* Korean prefers to break only at spaces */
| :root:lang(ko) {
|  word-break: keep-all;
| }

I was under impression that all Korean documents use keep-all, but UAX#14, 8.2 Examples of Customization[2], Example 3 states that:
> Depending on the nature of the document, Korean either uses implicit 
> breaking around characters Space-based layout is common in magazines 
> and other informal documents with ragged margins, while books, with 
> both margins justified, use the other type, as it affords more line break opportunities and therefore leads to better justification.

I checked a few Korean site and found that none of them use keep-all today, which is already available in IE[3]. So we should probably remove this from the default UA stylesheet.

[1] http://dev.w3.org/csswg/css3-text/#default-stylesheet
[2] http://unicode.org/reports/tr14/#Examples
[3] http://msdn.microsoft.com/en-us/library/ie/ms531184(v=vs.85).aspx

Regards,
Koji
Received on Sunday, 6 May 2012 07:19:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:53 GMT