Closed Bug 202927 Opened 21 years ago Closed 21 years ago

No page breaks when page-break-before in the table

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 136714

People

(Reporter: ted.schwind, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030411 Phoenix/0.5+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030411 Phoenix/0.5+

Printout and prin preview should be 4 pages, Phoenix prints/shows 3 and the 3rd
is blank.

Page uses <br clear=all style="PAGE-BREAK-BEFORE: always"> for breaking pages.

Reproducible: Always

Steps to Reproduce:
1. Open page
2. Do preview or rpint
3. Oh *#%@!

Actual Results:  
Noticed something was broke. Printed from IE.

Expected Results:  
Shown 4 properly formatted pages.
Changing summary
-> Browser
-> Printing

I don't know if it's a real bug though...

for reference:
http://www.w3.org/TR/REC-CSS2/page.html#page-break-props
http://www.w3.org/TR/REC-CSS2/page.html#allowed-page-breaks
Assignee: blaker → printing
Blocks: 24000
Component: General → Printing
Product: Phoenix → Browser
QA Contact: asa → sujay
Summary: Printout and print preview corrupted, incomplete and not obeying tag page-breaks → No page breaks when page-break-before in the table
Version: unspecified → Trunk
This is also the case on Linux in mozilla 1.5. When using the style in a <p>
tag, this crashes Mozilla. For example having this in the page more than once:

<p style="page-break-before: always;">

crashes mozilla when the page is printed (or "print-previewed")
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031210 Firebird/0.7

<div style=\"page-break-before:always\"> CSS tag just does not do anything. Hate
to say it, by IE works fine. Please fix this bug!
*** Bug 232402 has been marked as a duplicate of this bug. ***
page-break-before applies to block-level elements, something <BR> is not. It
should work for <P> and <DIV> though.
Attached file testcase
Works fine for me.
Sorry, I just noticed that it was reported it only occurs inside tables.

*** This bug has been marked as a duplicate of 136714 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: