Re: Gradient syntax (was Re: [CSSWG] Minutes and Resolutions 2009-08-12)

On Thu, Aug 13, 2009 at 8:10 PM, Tab Atkins Jr.<jackalmage@gmail.com> wrote:
> On Thu, Aug 13, 2009 at 7:03 PM, Christopher Robert
> Jaquez<crjaquez@gmail.com> wrote:
>> linear-gradient(0 0 white, black 20%, 300deg black);    /* Are we still
>> allowing px/em/etc. here instead of % (in isolation)? */
>>
>> to get the same effect.  I already thought of that for the horizontal and
>> vertical cases.  Not sure why my mind got stuck in the angled case.  Sorry
>> for my density.
>
> What is this supposed to look like?  I simply cannot parse it.
>
> ~TJ
>

I imagine it should look like this (note, not to scale):
http://www8.picfront.org/picture/DZCrt0Ew4LY/img/AngledGradient.png

but I guess for consistency, the syntax should be:

linear-gradient(0 0 white, black 20%, 100% 100% black 300deg);

Received on Friday, 14 August 2009 00:41:35 UTC