Bug 79365

Summary: Linear gradients with multiple stops at the same point behave incorrectly
Product: WebKit Reporter: Kenneth Graham <kenny>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: shanestephens
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Kenneth Graham 2012-02-23 07:53:12 PST
Webkit fails to render a 1px vertical red line in the following example:

-webkit-linear-gradient(left, white 0%, white 10px, red 10px, red 11px, white 11px, white 100%);

Instead, it renders solid white.
Comment 1 Kenneth Graham 2012-02-23 07:56:46 PST
However, the following will generate a 4px-wide red line:

-webkit-linear-gradient(left, white 0%, white 10px, red 10px, red 12px, white 12px, white 100%);
Comment 2 Shane Stephens 2012-02-29 20:38:31 PST
Seems to be working in head (Webkit r109280)