Bug 12156 - printing of svg web page to pdf
Summary: printing of svg web page to pdf
Status: RESOLVED DUPLICATE of bug 11984
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac (PowerPC) OS X 10.4
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 19:39 PST by Russell Gum
Modified: 2007-01-15 13:44 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Gum 2007-01-07 19:39:48 PST
When I try to print an svg web page which displays just fine to a pdf file all I get is a blank page. The only way I have found to print svg web pages is to do a screen capture. AARG!!  

The good news is that the svg based page displays correctly.
Comment 1 Nikolas Zimmermann 2007-01-09 15:24:55 PST

*** This bug has been marked as a duplicate of 11984 ***
Comment 2 Eric Seidel (no email) 2007-01-09 17:30:43 PST
This already worked long ago, AFAIK.
Comment 3 Russell Gum 2007-01-15 13:44:21 PST
For the following svg I can't grt it to print, although it displays just fine. Am I doing something wrong?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  width="300" height="900">
	
<g>
<text x='10' y='50' style='font-size:20'>Click the rectangle</text>
<rect id='obj1' onclick='changeColor(evt)' x='10' y='100' width='200' height='100' style='fill:blue;opacity:0.8'/>

<rect id='obj3' onclick='changeColor(evt)' x='10' y='300' width='200' height='100' style='fill:blue;opacity:0.8'/>

</g>
</svg>