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

> 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 UTC