W3C home > Mailing lists > Public > www-style@w3.org > February 2009

[css3-background] allow <percentage> in border-radius properties?

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 18 Feb 2009 19:08:44 -0800
To: W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20090218190844.1f10cbbe@mrtock>
We noticed while reviewing internal test cases for border-radius that
Gecko permits <percentage> values for all border-radius properties,
contra the spec which allows only <length>.  This has been the case for
probably as long as Gecko has implemented any sort of curved border
corners.  Percentages are taken as relative to the width of the
border-box (not the content-box) to which the style applies.

What do y'all think of adding this extension to the spec?  As far as I
can tell, no other implementation has this already, but it should not
pose any serious difficulty either in the parser or the renderer.

zw
Received on Thursday, 19 February 2009 03:09:31 GMT

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