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

Re: Initial values for widows and orphans

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 10 Dec 2012 13:56:08 -0800
Message-ID: <50C65A78.5070502@inkedblade.net>
To: www-style@w3.org
On 12/10/2012 01:34 PM, Dean Jackson wrote:
> I just added support for 'widows' and 'orphans' to WebKit [1].
> Unfortunately, in order to not break existing content, I couldn't use the specified initial values of 2.
> Instead I had to go against the spec and accept a value of 'auto'
> and have that be the initial value. In WebKit, this means do nothing
> (do not try to avoid widows or orphans).

widows and orphans only accept integers. If you want "do nothing", why
aren't you using 1 as the initial value?

> What was the reasoning behind having such initial values? [2] [3]

Probably because in general, it results in better pagination of text
content. It's been that way since CSS2.0.

Received on Monday, 10 December 2012 22:01:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:24 UTC