Closed Bug 467818 Opened 16 years ago Closed 16 years ago

thead wrongly output after a page break in print preview (no more data)

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 136714

People

(Reporter: deebool2, Unassigned)

References

()

Details

(Keywords: qawanted, Whiteboard: [needs reduced testcase])

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 When printing long tables the thead of a table triggering a page break is repeated in an additional page at the end of the document (after the table has been correctly output). Reproducible: Always Steps to Reproduce: 1.Open the attached link 2.Launch the print preview in landscape mode (no margin, no header and footer). Actual Results: 3 pages : 3 correct tables on 2 pages + 1 thead alone on the third page. Expected Results: 2 pages : 2 tables on the first and 1 on the last. No additional thead.
Attached file Print output showing the problem (deleted) —
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20081203 Shiretoko/3.1b3pre I can confirm this bug on Linux, though under slightly different conditions. (I'm using default margin settings, BTW) PORTRAIT MODE: ============== Scaled to 90%: No bug. Scaled to 100%: BUGGY Scaled to 125%: No bug. All three of the above cases show 2 tables on the 1st page and 1 table on the 2nd page. But the "100%" case has an extra 3rd page, just containing a copy of the 3rd table's header. LANDSCAPE MODE: =============== Scaled to 80%: BUGGY Scaled to 90%: No bug Scaled to 100%: No bug Scaled to 125%: BUGGY* Scaled to 150%: BUGGY Scaled to 175%: BUGGY In all the above cases except for 150%, "BUGGY" means there's one extra (unnecessary) page that just has a copy of the header for the 3rd table. The 125% case is starred above because it's slightly different -- it has an extra copy of the _second_ table's header, which is located just before the third table. A reduced testcase would be awesome for helping figure out what's going on here.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [needs reduced testcase]
Version: unspecified → Trunk
(In reply to comment #2) > In all the above cases except for 150%, "BUGGY" means there's one extra (sorry -- I meant "except for 125%" -- note that the 125% line is starred.)
Attached file zipped original testcase (deleted) —
Here's a zip of the original testcase, in case it ends up as a broken link at some point.
Wow that's testing man ;-) I'll try to make a minimal testcase if I manage to get some free time. I know my examples are too long. Thanks Daniel !
Resolving as duplicate of bug 136714 is related to page-break-after and tables.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: