Bug 14157 - Rotated shape has wrong gradient rendering
Summary: Rotated shape has wrong gradient rendering
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 23:18 PDT by Antoine Quint
Modified: 2007-06-20 09:31 PDT (History)
0 users

See Also:


Attachments
testcase (483 bytes, image/svg+xml)
2007-06-14 23:19 PDT, Antoine Quint
no flags Details
First attempt (49.42 KB, patch)
2007-06-19 09:30 PDT, Rob Buis
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2007-06-14 23:18:09 PDT
The same shape filled with a gradient renders differently whether it is rotated or not.
Comment 1 Antoine Quint 2007-06-14 23:19:53 PDT
Created attachment 15041 [details]
testcase

A rotated rectangle with a gradient, works fine in Opera 9 and Firefox 3.
Comment 2 Rob Buis 2007-06-19 09:30:13 PDT
Created attachment 15119 [details]
First attempt

This testcase found led me to something we failed to read in the spec, no objectBoundingBox mode when width and/or height is zero.
Cheers,

Rob.
Comment 3 Eric Seidel (no email) 2007-06-20 00:09:10 PDT
Comment on attachment 15119 [details]
First attempt

r=me, looks sane enough.
Comment 4 Rob Buis 2007-06-20 09:31:38 PDT
Landed in r23650.