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

Re: [css-shapes] <basic-shapes> etc. summary 3

From: Alan Stearns <stearns@adobe.com>
Date: Sun, 10 Nov 2013 16:58:53 -0800
To: Alan Stearns <stearns@adobe.com>, www-style list <www-style@w3.org>
Message-ID: <CEA64745.15193%stearns@adobe.com>
On 11/10/13 3:07 PM, "Alan Stearns" <stearns@adobe.com> wrote:
>We change circle() and ellipse() to use radial gradient syntax:
>circle() = circle( [<size>] [at <position>] )
>ellipse() = ellipse( [<size>] [at <position>] )

Now that I'm starting to make these changes, I'm noticing that <size> as
defined by radial gradients does not allow percentages for circle radii,
and the corner keywords there are more suited for gradients than shapes
(farthest and closest corner radii will not tend to produce useful circles
for shape-outside or clip-path).

I think I'd like to amend this to:

circle() = circle( [<shape-radius>] [at <position>] )
ellipse() = ellipse( [<shape-radius>{2}] [at <position>] )

Where <shape-radius> keeps the same width/height/cover/contain keywords as
the current shapes draft, and we keep the same percentage circle radius
definition in the draft.


Received on Monday, 11 November 2013 00:59:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:36 UTC