Open Bug 1318856 Opened 8 years ago Updated 2 years ago

when printing a tall image (or SVG graphic), it is truncated rather than split across pages

Categories

(Core :: Printing: Output, defect)

50 Branch
defect

Tracking

()

People

(Reporter: martinpaddles, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase, Whiteboard: [layout:print-triage:p1][frag2020])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 Steps to reproduce: View the attached test HTML page which contains a very tall image in Firefox. Then choose "Print" from the upper right menu to view the print preview, or simply print to your printer. Actual results: In print preview and when printing, the image is truncated at the bottom of the first page on which it begins to print. If you choose "shrink to fit" the page is shrunk so that the image width is correctly fits the width of the page, but the bottom of the image is still truncated. The same behavior occurs with a tall embedded SVG graphic (<svg>...</svg> embedded in page). Expected results: The image should be split across pages to that the entire image is printed. In Chrome and IE11, the image is split. (Have not tested on Safari or Edge.) I originally ran into this when trying to print a tall SVG graphic. It is truncated in the same way as an image. Chrome and IE11 will also print the tall SVG graphic split across pages.
Attached file PrintTallSVGTest.html
Here is an example of the same problem with a tall SVG graphic.
Summary: when printing a tall image, it is truncated rather than split across pages → when printing a tall image (or SVG graphic), it is truncated rather than split across pages
Component: Untriaged → Printing: Output
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Depends on: 376033
Ever confirmed: true
Keywords: testcase
Has this been fixed? It seems like it is still an issue. I created a fiddle that will spawn a print window after 3 seconds. https://jsfiddle.net/jhrinoa/574gpw0o/14/ Expected: - A vertical line is split across two pages. Actual: - A vertical line gets cut and truncated. Tested OS: - MAC
Has this been fixed? It seems like it is still an issue. I created a fiddle that will spawn a print window after 3 seconds. https://jsfiddle.net/jhrinoa/574gpw0o/16/ Expected: - A vertical line is split across multiple pages. Actual: - A vertical line gets cut and truncated. Tested OS: - MAC
Whiteboard: [layout:print-triage:p1]
Blocks: 1601429
Whiteboard: [layout:print-triage:p1] → [frag2020]
Whiteboard: [frag2020] → [layout:print-triage:p1][frag2020]

Bug 1640197 should fix this when we enable it.

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: