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

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

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Fri, 4 May 2012 14:37:38 -0400
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0D3C3C8031@MAILR001.mail.lan>
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 Friday, 4 May 2012 18:46:33 GMT

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