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

Re: [CSSWG] Minutes and Resolutions 2009-08-12

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 13 Aug 2009 14:57:44 +1200
Message-ID: <11e306600908121957u5c06cd1eqafd433edc8bce1c1@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: www-style@w3.org
On Thu, Aug 13, 2009 at 2:37 PM, L. David Baron <dbaron@dbaron.org> wrote:

> Or, since the first two parts accept any of the values that
> background-position takes, this could also be written as:
>
>  background: -moz-linear-gradient(left, right, from(red), to(green));
>

Good point.

What if we take the idea in my previous email and move the "from" color to
be next to the "from" point? then we could write
  background: linear-gradient(left, red, right, green);

Can't get much simpler than that, surely!

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 13 August 2009 02:58:18 GMT

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