Bug 30325 - SVG Masking with wrong offset
Summary: SVG Masking with wrong offset
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://svg.tutorial.aptico.de/grafik_...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 23:54 PDT by Dirk Schulze
Modified: 2009-10-14 16:29 PDT (History)
1 user (show)

See Also:


Attachments
Fix offset of SVG Masking (21.77 KB, patch)
2009-10-14 13:33 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff
Fix offset of SVG Masking (21.90 KB, patch)
2009-10-14 16:16 PDT, Dirk Schulze
zimmermann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2009-10-12 23:54:13 PDT
There is an offset of the mask here of about ~10%? This seems strange, because the default value for x and y should be -10%. I'll try to make a simpler test case later.
Comment 1 Dirk Schulze 2009-10-14 13:33:17 PDT
Created attachment 41186 [details]
Fix offset of SVG Masking

Some values were used to create a MaskingRect. This rect was transformed and instead of using the transformed rect, the masker continued with using  the old values.
Comment 2 Dirk Schulze 2009-10-14 16:16:25 PDT
Created attachment 41193 [details]
Fix offset of SVG Masking

new changelog
Comment 3 Nikolas Zimmermann 2009-10-14 16:19:23 PDT
Comment on attachment 41193 [details]
Fix offset of SVG Masking

Nice fix, r=me.
Comment 4 Dirk Schulze 2009-10-14 16:29:32 PDT
landed in r49598.