W3C home > Mailing lists > Public > www-style@w3.org > May 2011

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Sat, 14 May 2011 13:23:01 -0700
Message-ID: <4866d4543c99e6058e1428656b0f0db6.squirrel@cp3.shieldhost.com>
To: "W3C style mailing list" <www-style@w3.org>
Dear fellow www-style colleagues,

Testcase (RC6) from CSS 2.1 test suite:

Same testcase:

"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

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.

    Always force a page break before (after) the generated box."


best regards, Gérard Talbot
CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Saturday, 14 May 2011 20:23:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:52 UTC