W3C home > Mailing lists > Public > www-style@w3.org > August 2009

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

From: Christopher Robert Jaquez <crjaquez@gmail.com>
Date: Thu, 13 Aug 2009 20:40:35 -0400
Message-ID: <ceaa83f00908131740n48450afv2f60dc96755d759f@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: robert@ocallahan.org, "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT