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

Initial values for widows and orphans

From: Dean Jackson <dino@apple.com>
Date: Tue, 11 Dec 2012 08:34:25 +1100
Message-id: <1ECD16E7-D5EE-4905-8DB6-67648C1CC317@apple.com>
To: www-style list <www-style@w3.org>
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).

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

[1] http://trac.webkit.org/changeset/137200
[2] http://www.w3.org/TR/css3-page/#breaks-inside
[3] http://dev.w3.org/csswg/css3-page/#breaks-inside
Received on Monday, 10 December 2012 21:44:58 UTC

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