Bug 34248 - Zooming an SVG crops the figure and is acting irregulary
Summary: Zooming an SVG crops the figure and is acting irregulary
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://upload.wikimedia.org/wikipedia...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 01:31 PST by mikkel
Modified: 2010-02-15 12:19 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikkel 2010-01-28 01:31:20 PST
If trying to zoom in on an SVG displayed seperately, like the ones below, they will be cropped. 

Also, the zoom is acting irregularly. It seems that zooming in first zooms in, then out again, and this goes on in a loop. Selecting Actual Size doesn't bring back the dimensions that the figure had upon loading or reloading.

http://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg

http://upload.wikimedia.org/wikipedia/commons/8/84/Acf.svg
Comment 1 mikkel 2010-01-28 01:33:03 PST
(In reply to comment #0)

> Also, the zoom is acting irregularly. It seems that zooming in first zooms in,
> then out again, and this goes on in a loop. Selecting Actual Size doesn't bring
> back the dimensions that the figure had upon loading or reloading.

Btw. it seems the zoom-issue isn't present in Chrome 4.0.302.2 for Mac, but the cropping issue is still present.
Comment 2 stephane.clement 2010-02-09 06:30:14 PST
The "crop" issue also occurs under Windows XP using the QT 4.6.1 Assistant application (Nokia): If you zoom in an HTML page containing SVG pictures, these get bigger, but above a certain size they get clipped.

The same HMTL file is properly zoomed when opened in Mozilla Firefox v3.
Comment 3 Nikolas Zimmermann 2010-02-15 12:19:56 PST
Thanks for the bug report, will be fixed by the patch in bug 14004, to be uploaded soon.