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

Re: Hanging Punctuation Questions

From: Florian Rivoal <florian@rivoal.net>
Date: Sun, 6 Mar 2016 14:35:00 +0900
Cc: David Hyatt <hyatt@apple.com>, www-style list <www-style@w3.org>
Message-Id: <8A941CB6-306C-4D7F-BB43-65322E211981@rivoal.net>
To: Xidorn Quan <quanxunzhen@gmail.com>

> On Mar 6, 2016, at 10:27, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> On Sat, Mar 5, 2016 at 6:39 AM, David Hyatt <hyatt@apple.com> wrote:
> (6) The WG resolved overflow is ink overflow. I think it should be scrollable overflow. I can elaborate on this if needed, but it’s a selectable character that has to be reachable when edited and cut/copied etc. Any designer is going to leave space for hanging punctuation if they turn it on, so fears of scrollbars are unfounded IMO. It’s also an annoying amount of additional work to treat that as ink overflow when the common sense implementation just moves the line box (and line boxes are scrollable overflow obviously). This is similar to text-indent, which creates layout overflow when negative, so it’s not clear to me why hanging punctuation can’t behave the same way.
> Regardless of ink vs. layout, the designer has to leave space for hanging punctuation if they decide to use this feature, so I would prefer we go with the more common sense implementation choice.
> The reason that we decided to make it an ink overflow is that, many punctuations in CJK are full-width while their ink just takes less than half of the space. It is especially true for Simplified Chinese and Japanese, for stop and comma. It means that, it is completely fine to have a space which is enough to show the ink but not enough from the metrics. Making hanging punctuation scrollable overflow could confuse people in this reasonable usecase.

What we also suggested in Sydney, but I think that was during a break, is that hanging punctuation should be ink overflow (for the reason said by Xidorn) in general, but that is should be turned into scrollable overflow when the text is editable.

But if that's too complicated, maybe there's another way to deal with this? Could we say that the ink of the hanging punctuation is scrollable overflow? As long as the empty right halves of "、" and "。" don't cause scrollbars, we're good. "Ink overflow, unless editable" does that, but maybe there's a better way.

 - Florian
Received on Sunday, 6 March 2016 05:35:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC