W3C home > Mailing lists > Public > www-style@w3.org > March 2011

[css3-text] hanging-punctuation: force-end

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Tue, 22 Mar 2011 08:00:47 -0400
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AB3D54ECD@MAILR001.mail.lan>
During the test case review, current description for hanging-punctuation: force-end value[1] turned out to be insufficient.

In addition to the condition defined by ''allow-end'', ''force-end'' hangs punctuation when such punctuation appear at the last character of a line.

Because it requires expansion, text-align must be justify for it to work properly. Otherwise this value is the same as ''allow-end''.

I'm still investigating whether it should hang or not if it's also the last character before hard-break. I guess it should not, but I can't find good reference that describes the behavior for the case yet.

The ''force-end'' behavior is described in JLREQ 3.8.2 Reduction and Addition of Inter-Character Space[2], by the last a few sentences of (note 1).

> Furthermore, as shown at the end of line 1 and 5 of [Fig.181],
> if possible the full stops (cl-06) or commas (cl-07) are placed at
> the line end (the 18th position). In DTP there are examples of
> hanging punctuation like in line 3, but this may be regarded as
> unnecessary processing.

That said, JLREQ does not recommend this behavior, nor JIS X4051 does. I heard there are some real use cases though, I'll talk to who knows the use cases and get back to this list.

[1] http://dev.w3.org/csswg/css3-text/#hanging-punctuation
[2] http://www.w3.org/TR/jlreq/#en-subheading2_8_2


Regards,
Koji
Received on Tuesday, 22 March 2011 12:02:03 GMT

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