Bug 12156
Summary: | printing of svg web page to pdf | ||
---|---|---|---|
Product: | WebKit | Reporter: | Russell Gum <russgum> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | ||
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac (PowerPC) | ||
OS: | OS X 10.4 |
Russell Gum
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
*** This bug has been marked as a duplicate of 11984 ***
Eric Seidel (no email)
This already worked long ago, AFAIK.
Russell Gum
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>