Bug 33318

Summary: Using rgba in -webkit-gradient causes remaining CSS to stop rendering
Product: WebKit Reporter: Johan Ronsse <johan.ronsse>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Minor CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://www.wolfslittlestore.be/static/webkit_gradient_bug.html

Johan Ronsse
Reported 2010-01-07 04:17:57 PST
The following code does not behave as expected. It triggers an error in the CSS parser of Firefox 3.5, Safari 4, the Webkit nightly build stopping it to render the rest of the CSS. background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.1)), to(rgba(0,0,0.9)); There are two parts to this bug: 1. The parsing of the remaining CSS rules (should skip rule if rgba not supported in -webkit-gradient) 2. Feature support: rgba colors in -webkit-gradient How to reproduce: See source of http://www.wolfslittlestore.be/static/webkit_gradient_bug.html
Attachments
Johan Ronsse
Comment 1 2010-01-07 04:32:35 PST
The stopping of the rendering was because of the syntax error. The feature support bug remains.
Simon Fraser (smfr)
Comment 2 2010-01-30 21:24:01 PST
rgba() colors are supported in -webkit-gradient.
Note You need to log in before you can comment on or make changes to this bug.