Printing a long SVG document only prints first page

NEW
Unassigned

Status

()

12 years ago
a year ago

People

(Reporter: tor, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

12 years ago
 
(Reporter)

Comment 1

12 years ago
Created attachment 260163 [details]
testcase
(Reporter)

Comment 2

12 years ago
Created attachment 260164 [details] [diff] [review]
work in progress - prints right number of pages, but addition pages blank
This basically involves adding support for GetPrevInFlow.

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/svg/base/src/nsSVGOuterSVGFrame.cpp&rev=1.117&mark=338#322
OS: Linux → All
Hardware: PC → All
Duplicate of this bug: 459345
Assignee: general → nobody
QA Contact: ian → general

Updated

2 years ago
Blocks: 1318856
Created attachment 8826007 [details] [diff] [review]
wip

Here's a crazy experiment...  Only split the outer SVG frame, make the continuations be empty (no child frames), tweak BuildDisplayList to generate display items for the children from the first-in-flow, but with translation and clip to put them at the right place for the latter fragments.

Fwiw, with this patch I can print-to-file the testcase and get a slice of the image on each page.
Attachment #260164 - Attachment is obsolete: true
I like it.
You need to log in before you can comment on or make changes to this bug.