CSS Test: page-break-after: avoid


Melinda Grant, 2008/12/29 21:27

The test as written won't fit on one page as the description asserts. But it's not important that the p all fits, only that it begins on the first page. (We're not proving 'page-break-inside: avoid', just 'page-break-after: avoid'.)

Change the description to “The letters a, b, and c follow. The 'a' must appear on this page.”

Might as well make the div margin-bottom -1em rather than -2em.

The font-size is not needed. Make widows 3 and orphans 1.

We'll need another test case here that pulls the content above it to the next page to avoid a page-break-after, and analogous for page-break-before-009. Probably best to add to the existing tests rather than creating new ones.

Tom Clancy, 2009/01/27 16:54

I've made the requested updates to the existing test. Will add new cases next.

Tom Clancy, 2009/01/29 06:54

Added another case. I think I've gotten this right, but it doesn't look so in Prince.

You could leave a comment if you were logged in.
test/css2.1/submit/175.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki