Closed
Bug 127527
Opened 23 years ago
Closed 19 years ago
Print of tables does not span multiple pages if page contains absolute positioning
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 154892
People
(Reporter: alex, Unassigned)
References
()
Details
Attachments
(3 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.8) Gecko/20020204
BuildID: 20020204
At the specified URL you will find an example page for the "print tables" problem.
Neither the Print Preview nor the resulting print layout in a way that the full
page can be printed.
In Print Preview, the graphic elements will even hang over the shown page border.
Reproducible: Always
Steps to Reproduce:
1. Load the specified URL
2. Open Print Preview -> Elements will not only be shown within displayed page
border!
3. Choose Print -> Not the full horizontal content of the page will be shown on
the printed page. Additionally, there is no vertical spanning to multiple print
pages.
Actual Results: All content which exceeds the first page is siply cut off -
horizontally as well as vertically!
Expected Results: All content should printed - if necessary spanning multiple
pages!
Comment 1•23 years ago
|
||
this is probably a dupe of bug 123206 anyway, same problem with tables & print
layout. using current build 2-23-08 w2k.
Comment 2•23 years ago
|
||
Confirming on Build ID: 2002031903 (0.9.9+) Windows 98.
It's improved from the screenshot of 24 Feb. The right margin is still not
showing, though. It could be another bug where the right margin is cut off.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•22 years ago
|
||
No problem at all with build 2002060606 and WinXP
WFM.
Comment 5•22 years ago
|
||
Using Mozilla 1.1alpha, 2002060704, Windows 98, the first print preview does not
work right. It's better than before, but on the bottom of the first page, the
table overhangs the page. Then, after closing print preview, and doing another
print preview, everything is fine. The right margin is visible, and the table
does not overhang the bottom of the page.
I also tested printing. That was slow, but it printed. The printing was smeared.
In short, it isn't working the way it should be yet. It's getting closer, though.
Updated•22 years ago
|
Comment 6•22 years ago
|
||
I'm posting a more complicated example, but it clearly shows
the worst case I've seen. This really fails in version 1.2.1.
I saw the problem on rare occasions on 1.1, but 1.2.1 has gotten
much worse.
In my example, it gets in trouble when the table spans the
whole page, so neither the start or end is on a page.
See attached example. I had to remove nearly all the text
content, but its still works. In the real version of this
example, it was much longer than this.
Comment 7•22 years ago
|
||
The table ain't nested, but it does use CSS font-size a bunch.
On my machine, about half of the last cell is cut off.
The attached file - ex3.html - is pretty simple; it's all of 3k long, and only
uses td/tr/th with colspan/style/align in the table. It does use CSS, though.
Comment 10•22 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
Component: Print Preview → Layout: Tables
QA Contact: sujay → madhur
Target Milestone: mozilla1.2beta → ---
Comment 11•22 years ago
|
||
print bugs
Assignee: table → printing
Component: Layout: Tables → Printing
QA Contact: madhur → sujay
Comment 12•22 years ago
|
||
As I see some activity on this, may I add that
bug 194047 may also be related to this issue. With
the same example I posted on 12/6/02 to this issue, when I removed
the rowspan directives it worked fine.
Comment 13•21 years ago
|
||
Also bug 223978.
Comment 14•21 years ago
|
||
I have another page:
http://www.aachenerundmuenchener.de/internet/amven/amven_inter.nsf/ContentByKey/DRXS-54APCG-DE-p?OpenDocument&DL=PopUp
It shows in Print Preview and prints only the first page (of 3 or 2). Problem
does exist with Mozilla 1.6a, Firebird 0.7 and Netscape 7.1. Netscape 4.8 and
MSIE work fine.
Comment 15•21 years ago
|
||
(In reply to comment #14)
> I have another page:
>
http://www.aachenerundmuenchener.de/internet/amven/amven_inter.nsf/ContentByKey/DRXS-54APCG-DE-p?OpenDocument&DL=PopUp
>
> It shows in Print Preview and prints only the first page (of 3 or 2). Problem
> does exist with Mozilla 1.6a, Firebird 0.7 and Netscape 7.1. Netscape 4.8 and
> MSIE work fine.
Ermm, I see a pattern emerging... Style element "position: absolute;" strikes
again? Or am I barking up the wrong tree?
See Bug 223978 Comment #5
(In reply to comment #15)
> Ermm, I see a pattern emerging... Style element "position: absolute;" strikes
> again? Or am I barking up the wrong tree?
That's bug 154892, not this bug.
Comment 17•21 years ago
|
||
Here's another example:
<http://www.sakuracon.org/index.php?l=schedule/saturday-events.php>
When I attempt to print it with firefox-0.8 (Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.6) Gecko/20040207 Firefox/0.8), there's a blank space on the second
page where the last part of the table should be.
BTW, if I save just the html (no images), and try to print that, the problem
goes away.
Comment 18•20 years ago
|
||
http://www.tyan.com/products/html/matrix.html
Is another page where a table does not print across the (3) pages that it
should. Using Mozilla 1.7 for Win32 on WinXP Pro, printing to an HP DeskJet
500. The first page of the table displays (although the right side is cut-off),
but the 2nd and 3rd pages are mostly blank.
Note that Firefox 0.8 will correctly render and print this page.
Comment 19•20 years ago
|
||
Firefox 1.0PR has this problem:
http://www.geocities.com/nicole_neville/MD42.html
div id="layer0" style="position:absolute;left:22;top:17;width:619;height:1360;"
Comment 20•19 years ago
|
||
tested original URL using data from wayback machine. remove all absolute positioning and print works - at least for the problem reported for the original report.
duping
*** This bug has been marked as a duplicate of 154892 ***
Status: NEW → RESOLVED
Closed: 19 years ago
No longer depends on: 154892
Resolution: --- → DUPLICATE
Summary: Print of tables does not span multiple pages → Print of tables does not span multiple pages if page contains absolute positioning
You need to log in
before you can comment on or make changes to this bug.
Description
•