Re: Initial values for widows and orphans

Le Mer 12 décembre 2012 19:11, Tab Atkins Jr. a écrit :
> On Wed, Dec 12, 2012 at 3:56 PM, Dean Jackson <dino@apple.com> wrote:
>> On 13/12/2012, at 10:21 AM, Gérard Talbot <www-style@gtalbot.org>
>> wrote:
>>
>>> I do not understand why Webkit can not implement orphans and widows
>>> according to CSS2.1 specification.
>>>
>>> I do not understand why you say that it would break existing content.
>>
>> Because these properties have implied behaviour on content, even when
>> they were never specified by the author. Now, after years, our
>> implementation
>> turns them on and things change. I doubt any author will understand
>> why. Whether or not it is a positive change is important, but not really
>> our decision to make.
>
> Yup.  The initial value was chosen on the assumption that the behavior
> change wouldn't break things, because it's a nice default.
>
> However, if you think that it'll cause content to break,

It may cause "content to break" but it's definitely a very minor thing in
my opinion.


> then we
> should obviously just be more conservative about things and set the
> initial value to 1 (no effect) instead.
>
> ~TJ

We're talking about minimal number of lines at top and bottom of a page in
page media set to 2 instead of set to 1. Is that really a serious source
of concern and a sufficient justification to not support initial value
according to spec? I say no.

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Thursday, 13 December 2012 00:52:12 UTC