Re: Orphan control in CSS

Matthew Wilcox wrote:

> OK then, what about, as Lea suggests:
>
> orphan-words: 2;
>
> The number being the minimum number of words that must appear on the
> new-line if a new-line is required.
>
> e.g.,
>
> This is a heading that doesn't wrap
>
> This is a heading that has an
> orphan
>
> This is a heading that wraps with
> orphan control

FWIW, the relevant WebKit bug is

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


Ted

Received on Thursday, 5 January 2012 18:53:54 UTC