- From: Alan Stearns <stearns@adobe.com>
- Date: Tue, 20 Jan 2015 17:51:17 +0000
- To: W3C Style <www-style@w3.org>
Hey all, Elika and I worked on text level 4 a bit ago, changing it into a diff spec (it only contains new things for now) and adding a ‘balance’ value to the text-wrap property [1]. This value is meant for smaller bits of text - headlines and captions, mainly - that would look better with less line length variation. A Headline That Looked Like This Would change to: A Headline That Looked Like This The initial definition reads: ----- balance Same as normal for inline-level elements. For block-level elements line breaks are chosen to minimize the deviation from the average line length over the entire element (including lines that end in a forced break). The exact algorithm is UA-defined. UAs may treat this value as normal if there are more than ten lines to balance. ----- Comments welcome. Alan [1] http://dev.w3.org/csswg/css-text-4/#text-wrap
Received on Tuesday, 20 January 2015 17:51:47 UTC