- From: Alan Stearns <stearns@adobe.com>
- Date: Mon, 15 Jul 2013 14:09:16 -0700
- To: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
On 7/14/13 1:00 PM, "Dirk Schulze" <dschulze@adobe.com> wrote: >Same for comma separation: The earlier version of the WD had a comma >separated list of length|percentage values[1], the newer one is space >separated[2]. WebKit and Blink seem to implement the former one. > >Greetings, >Dirk > >[1] >http://www.w3.org/TR/2011/WD-css3-exclusions-20111213/#shapes-from-svg-syn >tax >[2] >http://www.w3.org/TR/2012/WD-css3-exclusions-20120503/#shapes-from-svg-syn >tax > >On Jul 14, 2013, at 6:51 AM, Dirk Schulze <dschulze@adobe.com> wrote: > >> Hi, >> >> The specification requires setting the keyword 'curve' for basic shapes >>like rectangle and inset-rectangle[1]. Is that intentional? >> >> Means instead just specifying: >> >> rectangle(0 0 100% 100% 20% 20%) >> >> It must be: >> >> rectangle(0 0 100% 100% curve 20% 20%) >> >> Is that right? The later just seems to have more characters without >>much of value. The first 4 arguments are required and not optional. >> >> I couldn't find a note on www-style where this was requested. Looks >>like it was introduce between 2011-12-13 and 2012-05-03. >> >> Greetings, >> Dirk >> >> [1] http://dev.w3.org/csswg/css-shapes/#rectangle I have removed the curve keyword, and changed the grammar to note the comma separators. Here are the updated basic shapes functions: rectangle([<length>|<percentage>][, [<length>|<percentage>]]{3,5}) inset-rectangle([<length>|<percentage>][, [<length>|<percentage>]]{3,5}) circle([<length>|<percentage>][, [<length>|<percentage>]]{2}) ellipse([<length>|<percentage>][, [<length>|<percentage>]]{3}) polygon([<fill-rule>,]?[<length>|<percentage>]{2}#) Thanks, Alan
Received on Monday, 15 July 2013 21:09:45 UTC