ISSUE-30: Does 'border-radius' allow percentages?

% border-radius

Does 'border-radius' allow percentages?

State:
CLOSED
Product:
CSS3 Backgrounds and Borders
Raised by:
Bert Bos
Opened on:
2008-04-04
Description:
Should 'border-radius' accept percentage values and if so what are they percentages of?

Candidates are the width and height of the containing block or of the element itself. The latter seems better. Border radii do not affect the size of the box, so the size of the box can safely be used to determine the radii.

In each of the (up to four) pairs 'A/B' of radii, a percentage on A may refer to the width and a percentage on B to the height of the border box.

If B is omitted is its absolute value or its percentage the same as A? Quarter circles nearly always look better, so the former seems preferred.
Related Actions Items:
No related actions
Related emails:
  1. [css-grid] sum of fractions < 1 (from mats@mozilla.com on 2014-04-26)
  2. [selectors][css3-ui][css-ui] Re: Please reinstate the ::selection spec (from tantek@cs.stanford.edu on 2013-12-11)
  3. Re: Taking CSS3 Color to PR (was Re: CSS3 Color issues all but one resolved - need updated sRGB reference - then ready for CSS3 Color PR) (from chris@w3.org on 2010-09-29)
  4. Taking CSS3 Color to PR (was Re: CSS3 Color issues all but one resolved - need updated sRGB reference - then ready for CSS3 Color PR) (from tantek@cs.stanford.edu on 2010-09-27)
  5. CSS3 Color issues all but one resolved - need updated sRGB reference - then ready for CSS3 Color PR (from tantek@cs.stanford.edu on 2010-09-14)
  6. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  7. ISSUE-30 (% border-radius): Does 'border-radius' allow percentages? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)

Related notes:

Added

Elika Etemad, 20 Dec 2011, 03:55:42

Display change log ATOM feed


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $