Re: [css3-images] Changing the angles in gradients

On May 18, 2011, at 8:32 AM, Brad Kemper wrote:

>> Here is the bug in Firefox 4.0.1.
>> 
>> http://css-class.com/test/bugs/gecko/2-0/angle-linear-gradient-bug.htm
> 
> That does not seem relevant to this discussion. It looks like FF is parsing percentages (as bg-position) in a place where it should only be looking for degrees or keywords. But anyone authoring according to the current spec, and putting degrees in there instead of percentages, would find consistent behavior across Firefox, Safari nightlies, Chrome, and (I think) IE 10 previews.
> 
>> I do suggest that when this bug is fixed, the angles of gradient can be changed at the same time. If this happens, then you know how to exploit this current bug by using two vendor prefixes for Gecko.
> 
> That would be horrid. I already have two versions of gradients for webkit, which is painful, but at least they have different names (-webkit-gradient and -webkit-linear-gradient), and therefore do not rely on hacks.

It also looks to me like that would only work with vertical or horizontal angles, and not with, say 30deg.

Received on Wednesday, 18 May 2011 16:03:04 UTC