[CSS21] 'page-break-before: always' question

Dear fellow www-style colleagues,

Testcase (RC6) from CSS 2.1 test suite:
http://test.csswg.org/suites/css2.1/20110323/html4/page-break-before-004.htm

Same testcase:
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/page-break-before-004.htm

"This test produces *_one or_* two pages of output on paged media. (...)"

Can someone explain to me why such test should be considered as passed
if only 1 page is printed?

I think if only 1 page is printed, then this should constitute a test
failure.

What am I missing here?

Browser results wrt such testcase
---------------------------------

Firefox 4.0.1 (only print preview), Opera 11.10 (only print preview),
Konqueror 4.6.3 and Safari 5.0.5 print 2 pages: 1st printed page is blank
and second printed page has the 3 sentences of text of the test... which
is exactly what I would expect from the test.

Chrome 11.0.696.68 and IE8 print only 1 page (that has the 3 sentences of
text of the test) ... which is NOT what I would expect from any/all
browsers executing the test.

Not tested in IE9.

References
----------
"always
    Always force a page break before (after) the generated box."
http://www.w3.org/TR/CSS21/page.html#page-break-props

http://www.w3.org/TR/css3-page/#pg-br-before-after


best regards, Gérard Talbot
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Saturday, 14 May 2011 20:23:30 UTC