Open Bug 376033 Opened 15 years ago Updated 2 years ago

Printing a long SVG document only prints first page

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: tor, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [frag2020])

Attachments

(2 files, 1 obsolete file)

 
Attached image testcase
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
Blocks: 1318856
Attached patch wipSplinter Review
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.
Whiteboard: [frag2020]
You need to log in before you can comment on or make changes to this bug.