CSS Test: page-break-before avoid


Melinda Grant, 2008/12/03 18:27

You need to describe *what* all fits on one page.

Need to make the margin-bottom -3em to ensure the text will all fit.

Add a link to css3-page.

Tom Clancy, 2008/12/05 09:36

Updated. I had the margin as -2em thinking at -3em I've left enough room for the letters anyway so it doesn't prove anything. However, even with -3em, Prince pushes them onto page 2.

Melinda Grant, 2008/12/29 19:45

Having the margin -2em was fine to prove the assertion, but (as I recall) the previous description said something about it all fitting on one page. It won't all fit unless you leave room for it. ;-) Either -2em and stating that the a and b will be on the page or -3em and stating that the a, b, and c will all be on the page seems fine to me.

Not clear to me that the font-size or the widows rules provide any value here…? (But setting widows to 1 would be useful – helps ensure the UA is prioritizing page-break props over widows/orphans.)

Tom Clancy, 2009/01/27 16:56

Think I got everything here. I will add additional cases as requested in http://wiki.csswg.org/test/css2.1/submit/175

Tom Clancy, 2009/01/29 07:51

Added additional case analogous to #175. Not sure if it works here as Prince isn't handling it.

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