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

Orphan control in CSS

From: Matthew Wilcox <elvendil@gmail.com>
Date: Thu, 5 Jan 2012 12:30:11 +0000
Message-ID: <CAMCRKiKT+hDB=ARD26fHVrBT-OL8ZkGYtOUju7h6GSyH4imc0Q@mail.gmail.com>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT