RESOLVED WONTFIX53043
-webkit-linear-gradient doesn't support position and angle simultaneously
https://bugs.webkit.org/show_bug.cgi?id=53043
Summary -webkit-linear-gradient doesn't support position and angle simultaneously
Sean Patrick O'Brien
Reported 2011-01-24 13:40:14 PST
Created attachment 79968 [details] Example file demonstrating the problem WebKit's implementation of linear-gradient doesn't support combinations of start position and angle parameters as specified by the draft: http://dev.w3.org/csswg/css3-images/#linear-gradients Example attached, along with screenshots from Firefox 4.0b9 and WebKit Nightly r76498.
Attachments
Example file demonstrating the problem (329 bytes, text/html)
2011-01-24 13:40 PST, Sean Patrick O'Brien
no flags
WebKit screenshot (2.36 KB, image/png)
2011-01-24 13:40 PST, Sean Patrick O'Brien
no flags
Firefox Screenshot (19.11 KB, image/png)
2011-01-24 13:41 PST, Sean Patrick O'Brien
no flags
Sean Patrick O'Brien
Comment 1 2011-01-24 13:40:54 PST
Created attachment 79970 [details] WebKit screenshot
Sean Patrick O'Brien
Comment 2 2011-01-24 13:41:13 PST
Created attachment 79971 [details] Firefox Screenshot
Simon Fraser (smfr)
Comment 3 2011-01-29 11:50:31 PST
We are compliant with the current spec. The syntax for linear-gradient is: <linear-gradient> = linear-gradient( [ [ [top | bottom] || [left | right] ] | <angle> ,]? <color-stop>[, <color-stop>]+ ); so you provide either a start point, or an angle, but not both.
Note You need to log in before you can comment on or make changes to this bug.