Bug 14924 - rotated rect with pattern draws incorrectly
Summary: rotated rect with pattern draws incorrectly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: https://bugzilla.mozilla.org/attachme...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 23:25 PDT by John Daggett
Modified: 2007-08-26 18:42 PDT (History)
1 user (show)

See Also:


Attachments
rotated pattern with webkit (6.22 KB, image/png)
2007-08-09 23:33 PDT, John Daggett
no flags Details
rotated pattern with opera 9 (8.70 KB, image/png)
2007-08-09 23:34 PDT, John Daggett
no flags Details
First attempt (36.40 KB, patch)
2007-08-17 00:07 PDT, Rob Buis
zimmermann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Daggett 2007-08-09 23:25:52 PDT
Rotated rect should draw four big dots with a small orange dot in the middle.  However, with rotation applied the pattern is scaled and clipped.
 
Renders correctly in Opera 9 or Batik 1.7, not in FF3 trunk.
Comment 1 John Daggett 2007-08-09 23:33:40 PDT
Created attachment 15893 [details]
rotated pattern with webkit
Comment 2 John Daggett 2007-08-09 23:34:11 PDT
Created attachment 15894 [details]
rotated pattern with opera 9
Comment 3 Mark Rowe (bdash) 2007-08-10 20:25:05 PDT
Confirmed with WebKit trunk.  This may have been fixed on the feature branch.
Comment 4 Rob Buis 2007-08-16 10:55:45 PDT
Confirmed with feature branch.
Comment 5 Rob Buis 2007-08-17 00:07:25 PDT
Created attachment 16006 [details]
First attempt

Should work.
Cheers,

Rob.
Comment 6 Rob Buis 2007-08-20 11:33:25 PDT
Landed in r25155.
Comment 7 John Daggett 2007-08-26 18:32:25 PDT
Sorry, but this doesn't appear to be fixed in the latest nightlies.  Tested r25168 on Windows, r25239 on Mac 10.4.10, both still render testcase incorrectly.
Comment 8 Matt Lilek 2007-08-26 18:42:31 PDT
(In reply to comment #7)
> Sorry, but this doesn't appear to be fixed in the latest nightlies.  Tested
> r25168 on Windows, r25239 on Mac 10.4.10, both still render testcase
> incorrectly.
> 

This fix was committed only on the "feature-brach" branch where a lot of svg and other experimental work is being done right now while the trunk is locked down for stabilization.

The nightlies are built from trunk so therefore you won't see any difference in the nightlies until that branch is merged to the trunk (no idea on when that might happen).  There are currently no nightlies for feature-branch - the only way to get the improvements in it are to build that branch from source.