Bug 99453 - [SVG] Zoom is applied incorrectly to symbol elements
Summary: [SVG] Zoom is applied incorrectly to symbol elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Philip Rogers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-16 04:35 PDT by Branimir Lambov
Modified: 2013-02-17 21:40 PST (History)
6 users (show)

See Also:


Attachments
Testcase (828 bytes, image/svg+xml)
2012-10-16 04:36 PDT, Branimir Lambov
no flags Details
Fix non-root SVG viewport under zoom (4.06 KB, patch)
2013-02-15 23:32 PST, Philip Rogers
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Branimir Lambov 2012-10-16 04:35:00 PDT
The attached SVG file contains a symbol which uses percentages of the instance size to draw circles. 
The image is drawn as expected (only green circles) with zoom=1, but after zoom the percentages are no longer calculated correctly (red circles show where the green ones should have been).

Safari and Chrome both fail, Firefox and Opera render the image correctly at all zoom levels.
Comment 1 Branimir Lambov 2012-10-16 04:36:19 PDT
Created attachment 168921 [details]
Testcase
Comment 2 Philip Rogers 2013-02-15 23:32:45 PST
Created attachment 188695 [details]
Fix non-root SVG viewport under zoom
Comment 3 Dirk Schulze 2013-02-15 23:59:29 PST
Comment on attachment 188695 [details]
Fix non-root SVG viewport under zoom

LGTM. r=me.
Comment 4 WebKit Review Bot 2013-02-17 21:40:22 PST
Comment on attachment 188695 [details]
Fix non-root SVG viewport under zoom

Clearing flags on attachment: 188695

Committed r143144: <http://trac.webkit.org/changeset/143144>
Comment 5 WebKit Review Bot 2013-02-17 21:40:25 PST
All reviewed patches have been landed.  Closing bug.