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

Re: Linear gradients: state of the proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 6 Nov 2009 20:16:47 -0800
Message-ID: <dd0fbad0911062016r191c44aaq63b11927d3089e7a@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
On Fri, Nov 6, 2009 at 8:11 PM, Simon Fraser <smfr@me.com> wrote:
>        * Optionally, an angle. If specified, the angle controls the axis of
> the gradient, while the spread of the gradient is governed by the "fill the
> box" rule, where the box is given by the "two point" rules above.

What do you mean by this?  How is the box determined here?  Are you
assuming that an angle can be provided in addition to 0-2 points?  So
that, frex, "10px 10px 45deg" would create a box with a corner at
"10px 10px" and another at "calc(100% - 10px) calc(100% - 10px)",
filling it with a gradient at 45deg?

~TJ
Received on Saturday, 7 November 2009 04:17:39 GMT

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