W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-images] simplifying radial gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Oct 2011 14:27:46 -0700
Message-ID: <CAAWBYDDoidfuR+tWooH0D8BJpp0XYgxW16ALWNHAcVViUPzOFQ@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Brian Manthos <brianman@microsoft.com>, "L. David Baron" <dbaron@dbaron.org>, Sylvain Galineau <sylvaing@microsoft.com>, Alan Gresley <alan@css-class.com>, "www-style@w3.org" <www-style@w3.org>
On Wed, Oct 12, 2011 at 1:43 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> I don't see how. I am giving 'linear-gradient()' equal standing to 'url()'. CSS does not include ways for BMP/JPG/PNG images to be cropped, moved, and sized within 'url()', So why does radial-gradient have to have ghat?

Linear gradients have the advantage that, no matter what size and
position you choose for the gradient-line, you can construct a
gradient with identical appearance that has the gradient-line defined
as the draft does (centered in the box, with endpoints placed in a
particular way).  Radials don't have that.

~TJ
Received on Wednesday, 12 October 2011 21:28:34 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:05 UTC