- From: L. David Baron <dbaron@dbaron.org>
- Date: Thu, 2 Dec 2010 22:47:50 -0800
- To: public-css-testsuite@w3.org
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. As far as I can tell, the correct layout according to the spec is probably to have two pages, with the P on the *second* page, and the bottom border of the div overflowing past the bottom of the second page and thus invisible. (I don't think that's a particularly desirable result, though.) -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Friday, 3 December 2010 06:48:21 UTC