Closed
Bug 1479119
Opened 6 years ago
Closed 4 years ago
Long images cut off after first page when printing
Categories
(Core :: Printing: Output, defect, P3)
Core
Printing: Output
Tracking
()
RESOLVED
DUPLICATE
of bug 1318856
People
(Reporter: jim.cicalo, Unassigned)
References
Details
(Whiteboard: [layout:print-triage:p1][frag2020])
Attachments
(1 file)
75.76 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180704194937
Steps to reproduce:
Load the attached PNG using the following code:
<!DOCTYPE html>
<html>
<body>
<img src="img/picture.png">
</body>
</html>
Actual results:
When printing, only 1 page is produced containing only a portion of the PNG (which is quite long). The rest of the picture cannot be printed.
Expected results:
The PNG should have been printed over multiple pages, as can be seen when printing using Chrome.
Updated•6 years ago
|
Priority: -- → P3
Comment 1•5 years ago
•
|
||
This appears to print correctly if you load it in our ImageDocument container, which applies position: absolute
to the img. In fact, just applying position: absolute
to the original test case is enough to fix it:
data:text/html,<html><body><img style="position: absolute" src="https://bug1479119.bmoattachments.org/attachment.cgi?id=8995669" /></body></html>
Whiteboard: [layout:print-triage:p1]
Comment 2•5 years ago
|
||
Just adding display:block
to the image works as well (or anything that makes it "block-level" really), fwiw.
Comment 3•5 years ago
|
||
I'm guessing the underlying issue here is likely the same as for bug 534182...
Status: UNCONFIRMED → NEW
Depends on: 534182
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Version: 61 Branch → unspecified
Updated•5 years ago
|
Whiteboard: [layout:print-triage:p1] → [frag2020]
Updated•5 years ago
|
Whiteboard: [frag2020] → [layout:print-triage:p1][frag2020]
Updated•4 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•