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

Re: [css3-background] should radii be capped?

From: Simon Fraser <smfr@me.com>
Date: Tue, 21 Jul 2009 20:09:33 -0700
Cc: www-style@w3.org
Message-id: <DB2FCA97-FD5F-4760-975C-AC7B70829A89@me.com>
To: Håkon Wium Lie <howcome@opera.com>
On Jul 21, 2009, at 1:23 PM, Håkon Wium Lie wrote:

> I've run into an issue where the specification for border-radius seems
> more limiting than necessary. Consider this test case and screenshot:
>
>  http://people.opera.com/howcome/2009/tests/border-radius7.html
>  http://people.opera.com/howcome/2009/tests/border-radius7.png
>
> The top part of the screenshot shows how Opera's internal
> implementation renders the test case, the bottom in Firefox 3.5.
>
> I believe Firefox caps the radii as per the current specification [1]
> which states:
>
>  The sum of two adjacent radii may not be more than the width or
>  height (whichever is relevant) of the box. If any sum exceeds that
>  value, all radii are reduced according to the following formula
>
>   <nasty formula deleted>

FWIW WebKit now follows the current specification too.

Simon
Received on Wednesday, 22 July 2009 03:10:16 GMT

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