Bug 69261 - SVG Pattern tile pixelated on patternTransform
Summary: SVG Pattern tile pixelated on patternTransform
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dirk Schulze
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 08:31 PDT by Dirk Schulze
Modified: 2011-10-04 02:34 PDT (History)
4 users (show)

See Also:


Attachments
pixelated SVG Pattern (281 bytes, image/svg+xml)
2011-10-03 08:31 PDT, Dirk Schulze
no flags Details
Patch (124.66 KB, patch)
2011-10-03 12:33 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2011-10-03 08:31:27 PDT
Created attachment 109487 [details]
pixelated SVG Pattern

SVG pattern tile pixelated on patternTransform with scaling.
Comment 1 Dirk Schulze 2011-10-03 11:56:43 PDT
I have a patch for this problem.
Comment 2 Dirk Schulze 2011-10-03 12:33:20 PDT
Created attachment 109509 [details]
Patch
Comment 3 Rob Buis 2011-10-03 12:41:55 PDT
Comment on attachment 109509 [details]
Patch

Looks good, r=me.
Comment 4 Dirk Schulze 2011-10-03 12:53:46 PDT
Comment on attachment 109509 [details]
Patch

Clearing flags on attachment: 109509

Committed r96530: <http://trac.webkit.org/changeset/96530>
Comment 5 Dirk Schulze 2011-10-03 12:53:54 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Ryosuke Niwa 2011-10-03 15:50:56 PDT
Leopard build fix attempt in http://trac.webkit.org/changeset/96551.
Comment 7 Robert Longson 2011-10-04 01:46:07 PDT
What would happen if the pattern transform had a negative scale component?
Comment 8 Dirk Schulze 2011-10-04 02:34:39 PDT
(In reply to comment #7)
> What would happen if the pattern transform had a negative scale component?

The same like for a positive scale component, but the patter tile gets flipped: scale(-1, 1) -> left gets to right and right to left. No other influence to the tile. You can try it with the next nightly build.