[Webkit-unassigned] [Bug 53502] New: Repeating gradients drawn incorrectly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 1 09:21:02 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53502
Summary: Repeating gradients drawn incorrectly
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows Vista
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rchl2k at gmail.com
CC: simon.fraser at apple.com
Created an attachment (id=80769)
--> (https://bugs.webkit.org/attachment.cgi?id=80769&action=review)
repeating gradient testcase
Spec states [ http://dev.w3.org/csswg/css3-images/#repeating-gradients ]:
"the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop's position and the first specified color-stop's position. For example, ‘repeating-linear-gradient(red 10px, blue 50px)’ is equivalent to ‘linear-gradient(..., red -30px, blue 10px, red 10px, blue 50px, red 50px, blue 90px, ...)’. Note that the last color-stop and first color-stop will always coincide at the boundaries of each group, which will produce sharp transitions if the gradient does not start and end with the same color."
I've included TC with two gradients:
repeating-linear-gradient(red 10%, green 10%, blue 50%)
and
repeating-linear-gradient(green 10%, blue 50%)
It makes sense to me that they should render identically. They don't in WebKit.
--
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