[webkit-reviews] review requested: [Bug 60157] Gradients not horizontal using 270deg with odd div width : [Attachment 93460] Patch

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


Mihnea Ovidenie <mihnea at adobe.com> has asked  for review:
Bug 60157: Gradients not horizontal using 270deg with odd div width
https://bugs.webkit.org/show_bug.cgi?id=60157

Attachment 93460: Patch
https://bugs.webkit.org/attachment.cgi?id=93460&action=review

------- Additional Comments from Mihnea Ovidenie <mihnea at adobe.com>
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}.


More information about the webkit-reviews mailing list