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

Re: Initial values for widows and orphans

From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
Date: Thu, 13 Dec 2012 19:48:43 +0800
Message-ID: <50C9C09B.1090902@oupeng.com>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org
(12/12/13 8:40), fantasai wrote:
> On 12/12/2012 01:03 PM, Sylvain Galineau wrote:
>> [fantasai:]
>>> I don't see that changing the spec here is particularly useful or
>>> necessary.
>>> Just put
>>> html {
>>>     widows: 1;
>>>     orphans: 1;
>>> }
>>> in the UA style sheet.
>> Er, not breaking existing content is quite useful and necessary :)
> I'm not opposed to changing the initial value to 1. I think it would
> make more sense actually. But existing implementations would have to
> change, and there are several. For Web content, the rule above is
> equivalent to changing the initial value. [1] So there's a question
> of which is a better way of solving the compat issue.

I suppose you are suggesting Safari put the above rule in the UA style
sheet? That doesn't sound the right thing to suggest as the HTML spec
more or less makes a UA non-compliant if it deviates from the Rendering

But I am also not a fan of the 'auto'-for-arbitrary-behavior idea.

> [1] Unless you put :root { widows: inherit; orphans: inherit; } in
>     your style sheet for some reason, but no sane or insane web
>     developer would do that, only a layout QA would.

There's also :root { widows: initial; orphans: initial; }. It's pretty
uncommon too.

Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/
Received on Thursday, 13 December 2012 11:49:19 UTC

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