[Webkit-unassigned] [Bug 65381] WebKit should support a defined word-wrap limit to prevent widows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 6 11:26:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=65381


Matt Wilcox <mail at matthewwilcox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at matthewwilcox.com




--- Comment #1 from Matt Wilcox <mail at matthewwilcox.com>  2012-01-06 11:26:20 PST ---
"widows" in this context are usually referred to as Orphans, there is a discussion going on at www-style with regard to how this should be implemented. Please see: http://lists.w3.org/Archives/Public/www-style/2012Jan/0087.html for the beginning of the conversation. There are additional considerations, for example in typography it is usually the case that the entire paragraph will be re-flowed to avoid poor line lengths. That behaviour should be duplicated in CSS. e.g.,

NO ORPHAN CONTROL:
This is a paragraph of text that I'm going to
use to demonstrate a problem with orphan
control. The next word is supercalefragalistic
long.

BASIC ORPHAN CONTROL:
This is a paragraph of text that I'm going to
use to demonstrate a problem with orphan
control. The next word is
supercalefragalistic long.

TRADITIONAL MEDIA ORPHAN CONTROL:
This is a paragraph of text that I'm
going to use to demonstrate a problem
with orphan control. The next word is
supercalefragalistic long.

In existing traditional media the problem of poor line lengths after orphan control is tackled by the type layout application re-flowing the entire paragraph, adjusting letter-spacing, word-spacing and dropping problem words onto new lines. The particular method used is controllable in software to give different looks. Hyphenation is not usually used.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list