Re: page-breaks-101 probably invalid

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 UTC