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

RE: Idea : replacement for border-radius, a more complete corner styling property.

From: Brian Manthos <brianman@microsoft.com>
Date: Thu, 4 Aug 2011 04:16:14 +0000
To: Joel Rea <joel@mmcc.com>, 'Jerome Leclanche' <adys.wh@gmail.com>, "'Brad Kemper'" <brad.kemper@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>, '"François REMY"' <fremycompany_pub@yahoo.fr>, 'fantasai' <fantasai.lists@inkedblade.net>
Message-ID: <9710FCC2E88860489239BE0308AC5D1711190A@TK5EX14MBXC264.redmond.corp.microsoft.com>
> From: Joel Rea [mailto:joel@mmcc.com]
>
> On border-radius values:
> 
> At present, these can be specified as a positive number of pixels or
> other simple units. When set as absolute units (e.g. “px”), specifying
> a single border-radius value for a corner always produces circular
> rounding (or other shaped effect if the above is implemented).
> 
> Percentage should be allowed here, just as it is for almost anything

Percentage values are already supported for border-radius.

http://www.w3.org/TR/css3-background/#the-border-radius

[ <length> | <percentage> ] [ <length> | <percentage> ]?

Percentages: Refer to corresponding dimension of the border box.

Percentages for the horizontal radius refer to the width of the border box, whereas percentages for the vertical radius refer to the height of the border box.
Received on Thursday, 4 August 2011 04:16:44 GMT

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