The printing of SVG images on WebKit is better than all other implementations I have used - this makes it a very useful program for using with SVG graphics. In many cases, however, it is very useful to be able to copy an SVG graphic for pasting into other documents - or alternatively/in addition ot save the SVG graphic. It would be very useful if this could be included - copy as pdf or save as pdf/svg image would be useful since this gives full vector graphics. Copy as rastererised image is also sometimes useful - though a lower priority.
This requires a feature called "SVGImage" which is disabled in the current development branch. After Safari (Leopard) ships, I'm sure SVGImage will be turned back on and this feature implemented. I'm not sure we have a bug about turning SVGImage back on, but this bug could be duped to that one.
SVGImage has been turned back on on feature-branch. "copy" works as you would expect. http://nightly.webkit.org/builds/overview/feature-branch
When this was raised I was not specifically raising this for display within IMG tags. A standalone SVG page can still not be copied (except the text) or saved in a different form. On a Mac print to pdf works well but this has the usual headers and footers and is full page size. Being able to save the SVG image as pdf at the defined size of the image area would enable the image to be incorporated into other documents - as would the same ability with a rasterised image(though with lower quality).
I think he's asking for stand-alone SVGs to have similar controls as those found on ImageDocument.
Could you give an example of existing functionality you'd like us to duplicate for SVGs? As I mentioned above, SVGs now work correctly in <img> tags, including the copy contextual menu you asked for. Are you now asking for us to add similar contextual menus to SVGs when rendered stand-alone in a window by themselves? If so I'd like to change the title of the bug.
Created attachment 18126 [details] Contextual menu shown for normal embedded images
Created attachment 18127 [details] Contextual menu shown for standalone SVG documents
Created attachment 18128 [details] Contextual menu shown for standalone png images
One possible way to solve this would be to teach: Editor::canCopy() about SVG documents.
Christopher: you can turn off the headers and footers in the print dialog.
*** Bug 272588 has been marked as a duplicate of this bug. ***
<rdar://problem/126353446>