- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Mar 2018 06:40:47 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text-3] Allow first/last to hang colons (and dashes?) == In https://lists.w3.org/Archives/Public/www-style/2015Mar/0150.html @bradkemper wrote: > 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? Background Info: The `end` value of `hanging-punctuation` is intended for CJK, and the `first` value, in conjunction with `text-indent`, was needed also for CJK https://www.w3.org/TR/jlreq/#positioning_of_opening_brackets_at_line_head But `first` in conjunction with `last` gives useful behavior for Western typesetting as well, such as for pull-quotes. The question here would be, does adding more punctuation to the hangable classes of `last` interfere with any existing use cases? If so, we need a new value. If not, we can fold it into `last`. The other question is, which characters, specifically, need to hang like this? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2392 using your GitHub account
Received on Monday, 5 March 2018 06:40:51 UTC