W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2011

Re: page-breaks-101 probably invalid

From: Ms2ger <ms2ger@gmail.com>
Date: Fri, 14 Jan 2011 21:10:31 +0100
Message-ID: <4D30ADB7.7050006@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
CC: "L. David Baron" <dbaron@dbaron.org>, public-css-testsuite@w3.org
On 12/07/2010 10:32 PM, fantasai wrote:
> On 12/02/2010 10:47 PM, L. David Baron wrote:
>> I think this test:
>> http://test.csswg.org/suites/css2.1/20101027/html4/page-breaks-101.htm
>> is probably invalid.
>>
>> While the behavior it suggests seems desirable to me, I don't think
>> the behavior is what the spec says to do. As far as I can tell, the
>> rules in the "Allowed page breaks" section do not allow any breaks
>> after the P, only before it, since they only allow breaking in
>> margins that are *between* block boxes, not between the last child
>> block of a block and its parent block. The rules in that section
>> only allow ignoring a margin when it was broken across.
>
> Fixed.
> http://test.csswg.org/source/contributors/hp/submitted/css2.1/page/page-breaks-101.xht

The assert doesn't seem to reflect that:

 > <meta name="assert" content="When an element would span a page break
 > solely to render a bottom margin, that margin is instead truncated
 > and the element does not span pages (even when the element has a
 > background or border)." />

Ms2ger
Received on Friday, 14 January 2011 20:12:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 January 2011 20:12:07 GMT