[Webkit-unassigned] [Bug 60157] Gradients not horizontal using 270deg with odd div width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 09:13:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60157


Mihnea Ovidenie <mihnea at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93460|                            |review?
               Flag|                            |




--- Comment #3 from Mihnea Ovidenie <mihnea at adobe.com>  2011-05-13 09:13:18 PST ---
Created an attachment (id=93460)
 --> (https://bugs.webkit.org/attachment.cgi?id=93460&action=review)
Patch

The code in CSSGradientValue.cpp, function endPointsFromAngle, was missing the case when the angle is 270. The patch adds the computation for this case too. The layout test creates linear gradients with angles = {0, 90, 180, 270, -90, -180, -270}.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list