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

Re: [css-text] useful 'hanging-punctuation: last' characters

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 28 Mar 2015 09:50:44 -0700
Cc: www-style list <www-style@w3.org>
Message-Id: <6D4C7420-752B-4600-8CFF-13A5CEF34DC3@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>

> On Mar 18, 2015, at 10:39 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> On 03/18/2015 02:08 AM, Koji Ishii wrote:
>> 2015/03/11 2:42 "Brad Kemper" <brad.kemper@gmail.com <mailto:brad.kemper@gmail.com>>:
>> 
>>>    I would like the characters that can hang on the end of a line to include a colon. The use case is common when you have
>>>    right aligned labels ending in a colon.  It looks weird when the lines wrap and the last word doesn't line up with the
>>>    other words.
>>> 
>>>    Could colons be part of the hanging characters in 'hanging-punctuation: last'? Or could there be a new value, such as
>>>    'hanging-punctuation: last-loose', that hangs the characters in the [Po] category?
>> 
>> I think it depends on author choices, scripts, etc. For instance, Japanese will not want colons to be included.
>> 
>> I would like properties for finer controls be done in Level 4. fantasai?
> 
> I'm not sure this is a case for hanging punctuation:
> you don't want the colon to be in the margin, you
> still want it to take up space. But you want it to be
> in a separate "column" in the layout.

I'd be very happy to have it hanging in the right padding, actually, so that everything else lined up on the right. Or do you mean I wouldn't really get that anyway, due to variable kerning, etc. between the colon and the second to last letter?
Received on Saturday, 28 March 2015 16:51:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC