Orphan control in CSS

Widow is a CSS property from the CSS2 era, which is part of the “paged
media” specifications, it isn't relevant to screen media. Orphans are
a related concept that are, but have never been implemented in any
media. I propose that we do.

An orphan is a singular word that drops to a new-line at the end of a
sentence. They're a typographic no-no and never happen in professional
print.

I'd like to have something like:

h2 { orphans: 2; }

which would control the minimum number of words that must be dropped
onto a new-line if a new-line is required.

Received on Thursday, 5 January 2012 12:30:38 UTC