Open Bug 869440 Opened 11 years ago Updated 2 years ago

inline-tables are cropped at page-boundary

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

People

(Reporter: andre.silva, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

Write a html table, that occupy two pages.


Actual results:

If CSS is applied, print preview only displays the first page.


Expected results:

 Firefox should display all pages.
Attachment #746403 - Attachment mime type: text/plain → text/html
Maybe a dupe.
Possibly related to bug 849408.

andre.silva, can  you verify that it's the same issue that you're encountering?

Thanks!! =)
There is bug 863912 too but overflow:hidden is involved in this case, and there is no such an element in the current testcase.
Print output is affected too.
Component: Print Preview → Printing: Output
Yeah, this isn't related to bug bug 849408.

The issue here is that we don't seem to paginate inline-flavored <table> elements.

We don't seem to paginate inline-block for that matter, either, though -- I suspect that might be intentional, since having a single line span multiple pages is a bit crazy.
Summary: Firefox only prints first page of a webpage → inline-flavored containers are cropped at page-boundary
Attachment #747096 - Attachment description: reduced testcase 1 → reduced testcase 1: inline table
Attachment #747100 - Attachment description: reduced testcase 2 (inline-block) → reduced testcase 2: inline-block
Looks like bug 534182 tracks this for inline-block.
Depends on: 534182
Blocks: 521204
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: inline-flavored containers are cropped at page-boundary → inline-tables are cropped at page-boundary
Version: 20 Branch → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #747100 - Attachment description: reduced testcase 2: inline-block → reduced testcase 2: inline-block [just to demonstrate; this is also tracked in bug 534182]
Still present.  
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Problem still exists.

Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
Windows 32 bit also.

A fix would be very nice.
Achim, Gleen, if that problem matters to you, please vote.
Flags: in-testsuite+
Flags: in-qa-testsuite+
Flags: in-testsuite+
Flags: in-qa-testsuite+
Implementation of Print CSS seemed to solve this problem for me.  I had inquired about my situation here and also got some excellently useful feedback:  https://support.mozilla.org/en-US/questions/967636?esab=a&s=Print+CSS&r=3&as=s

So at this point, while I believed that what I was witnessing was a part of this bug, (the bug description seemed to match my observed behavior) I am neither technically savvy enough nor knowledgeable enough about Mozilla to know if what I was witnessing was really related to this bug or not.  I hope others will comment to clarify one way or the other.  

In the mean time, I don't know if I should vote for this bug since I don't know if, in fact, what I was experiencing was related to this bug as I thought it was originally.
Attached file testcase #3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: