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

RE: [css-text] Preventing typographic orphans

From: Randy Edmunds <redmunds@adobe.com>
Date: Sat, 3 Jan 2015 23:47:13 +0000
To: www-style list <www-style@w3.org>
Message-ID: <BY1PR0201MB099886920A32D50BEE7EF60CCA5A0@BY1PR0201MB0998.namprd02.prod.outlook.com>
> In typography, orphans are lone words at the end of a line. However, in CSS, the orphans property controls the minimum number of lines in a block container that must be left at the bottom of a page, not the minimum number of words at the end of a line. Is there anything planned for typographic orphans? If not, why? 
> 
> This must have been discussed before, but can't seem to find it, sorry.

There has been talk of a `text-balance` property that takes a percentage value. The value determines the minimum length for the last line of a paragraph, compared to the average line length. The property defaults to auto which computes to 0% (the last line can be anywhere from 0-100% of the average line length). If the text-balance property computes to 100%, then all of the lines in the paragraph get balanced to give the last line full width.

Randy
Received on Saturday, 3 January 2015 23:47:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:50 UTC