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

(unknown charset) Re: [css3-background] should radii be capped?

From: (unknown charset) Zack Weinberg <zweinberg@mozilla.com>
Date: Tue, 21 Jul 2009 17:19:30 -0700
To: (unknown charset) fantasai <fantasai.lists@inkedblade.net>
Cc: (unknown charset) HÃ¥kon Wium Lie <howcome@opera.com>, www-style@w3.org
Message-ID: <20090721171930.5ea5e563@mozilla.com>
fantasai <fantasai.lists@inkedblade.net> wrote:
> What you want appears to be 'border-radius: 50%'. Yes? That's a
> different feature, and one we can consider if there's agreement on
> what it should do. (Mozilla used to have percentage border-radii, but
> because they didn't allow elliptical corners it always resulted in
> quarter-circles.)

As of FF3.5, Mozilla still does support percentages in border-radius,
but the percentages are always interpreted relative to the outer
*width* of the border box, even for the vertical semi-axis of an
ellipse.  This is so we can continue to get circular arcs for
"border-radius: 10%" without messing with the defaulting rules.

I'd be happy to change that at least somewhat, but I think
"border-radius: 10%" needs to keep doing quarter circles.

By the way, I wrote a guide to border-radius for hacks.mozilla.org; it
hasn't gone public yet, but a draft is here:
http://www.owlfolio.org/DRAFT/border-radius/  I would be glad to take
corrections, commentary, and suggestions.

Received on Wednesday, 22 July 2009 00:20:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:27 UTC