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

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 UTC