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

Re: [css4-images] First draft of css4-images, feedback requested

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 5 Nov 2012 16:32:27 -0800
Message-ID: <CAAWBYDCmFa-b-Q8xdyQk+enycAa=UN3VJ7H1L6x2E6rQ_5Z0yw@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Sebastian Zartner <sebastianzartner@gmail.com>, www-style list <www-style@w3.org>
On Mon, Nov 5, 2012 at 4:18 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> On Tue, Aug 7, 2012 at 8:22 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> On Mon, Aug 6, 2012 at 10:57 PM, Sebastian Zartner
>> <sebastianzartner@gmail.com> wrote:
>> > I am missing the definition of a rectangular gradient like the example
>> > at
>> > pixel2life.com shows [1].
>> That should just be an addition to the shape keywords you can provide
>> to radial-gradient().  My initial draft long ago had square,
>> rectangle, diamond, rhombus, and box (use the box's own shape,
>> respecting rounded corners, etc.).  I removed them because there was
>> no graphics library support for them.  (The same thing might kill
>> conic gradients.)
> Diamond gradients could easily be emulated (they're basically 2 axial
> gradients with clipping).
> It's a fairly useful construct so it would be nice to have in the spec.

Yeah, square and diamond are doable with linear gradients and
clipping.  Roc said early on in Images 3 that they'd be doable, but we
purposely stuck to stuff that could be done directly with the platform
graphics APIs.

I guess I don't have a problem with speculatively adding them to the
Images 4 spec.

Received on Tuesday, 6 November 2012 00:33:14 UTC

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