Open Bug 400149 Opened 17 years ago Updated 2 years ago

when printing table, text lost at page break, has rowspan > 1

Categories

(Core :: Printing: Output, defect)

1.8 Branch
defect

Tracking

()

People

(Reporter: wolfwing09, Unassigned)

Details

Attachments

(2 files, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 I've seen it where an entire row of information doesn't show up in the print preview and where just some of the text is lost. It happens when the rows spanned by a cell with rowspan > 1 cross a page break. I gave an example in "Steps to Reporduce". Reproducible: Always Steps to Reproduce: Below is some example HTML. Adjust the maring-top of the div so that the table is on a page break. Just print or print preview to see the problem. <div style="margin-top: 700px"> <table border="1"> <tr><th colspan="3">Header</th></tr> <tr><td rowspan="5">rowspan = 5</td><td>1A</td><td>2</td></tr> <tr><td>1B</td><td>2</td></tr> <tr><td>1C</td><td>2</td></tr> <tr><td>1D</td><td>2</td></tr> <tr><td>1E</td><td>2</td></tr> </table> </div> Actual Results: The first cell is supposed to say "rowspan = 5", but only the "5" displays. The "5" displays on the second page. In other scenarios I've seen information lost from the other cells in the row as well. Expected Results: Should have displayed "rowspan = 5" in the left side cell.
Component: General → Printing
Product: Firefox → Core
QA Contact: general → printing
Is related to bug 290453. One has to adjust the margin-top vlaue if one uses different page sizes (A4, letter, ...) or print margins to move the rowspan on the page break. interesting behavior: - with blanks between the "rowspan" "=" "2" there will be an unneeded line break in the row - without the blanks ("rowspan=2") some rows of the table will not be displayed (as mentioned in the related bug)
WFM, using this testcase taken straight from comment 0. (and with margin-top adjusted to place the rowspanning cell right at the page-break) When I print-preview this testcase, "rowspan = 5" appears entirely on the first page, at the very bottom.
This testcase adds .01 in to the margin-top, in an effort to make the rowspanning cell fall "on the page break". However, this change is enough to push the rowspanning cell to the second page in its entirety on my machine. So, still WFM. If anyone sees the bug, can you post a testcase that demonstrates the issue? BTW I'm using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.2pre) Gecko/2008071604 GranParadiso/3.0.2pre
(In reply to comment #1) > interesting behavior: > - with blanks between the "rowspan" "=" "2" there will be an unneeded line > break in the row > - without the blanks ("rowspan=2") some rows of the table will not be displayed > (as mentioned in the related bug) I don't see these behaviors, either... could you post a testcase that's shows these issues? (also a screenshot of the broken behavior(s), if possible) > One has to adjust the margin-top vlaue if one uses different page sizes (A4, > letter, ...) or print margins to move the rowspan on the page break. If possible, don't tweak your print margins when making a testcase -- just use the defaults (and tweak 'margin-top' instead), so that it's easier for others to reproduce the bug using the testcase.
Is *not* reproducable with Firefox 3.x Is reproducable with Firefox 2.x
Ok, version --> 1.8 branch per comment 5.
Version: unspecified → 1.8 Branch
I'm facing this issue with Firefox 3.0.4. In a table with a page break occuring in a rowspan=5, spanning rows are missing as the first spanned row. thead is correct though. It's a very annoying problem for me as I don't see any easy workaround.
Julien: Can you file a new bug for that issue, and post the bug # here in a comment? This bug page is for a Firefox2-specific issue, so if you're seeing something wrong in Firefox3, it's a different problem. Thanks!
BTW, I can reproduce this original bug on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17 using the attached testcase (extracted from the zip file for convenience). Hence, marking confirmed / Platform --> ALL However, the chances that it'll get fixed are slim, given that Firefox 2 is end-of-life'd.
Attachment #331730 - Attachment is obsolete: true
Attachment #331731 - Attachment is obsolete: true
Attachment #350754 - Attachment is obsolete: true
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Sorry for posting in the wrong place (new to bugzilla). New entry for the bug I've encountered here https://bugzilla.mozilla.org/show_bug.cgi?id=400149
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: