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. [CSSWG] Minutes Telecon 2016-04-20 [css-flexbox] [css-grid] (from daelcss@gmail.com on 2016-04-20)
  2. [csswg] Agenda conf call 20-Apr-2016 (from stearns@adobe.com on 2016-04-20)
  3. Call for agenda items (from stearns@adobe.com on 2016-04-19)
  4. [csswg] Agenda conf call 13-Apr-2016 (from Rossen.Atanassov@microsoft.com on 2016-04-13)
  5. Re: Call for agenda items (from kojiishi@gmail.com on 2016-04-12)
  6. Call for agenda items (from Rossen.Atanassov@microsoft.com on 2016-04-12)
  7. Agenda+ Grid and Flexbox Issues (from fantasai@inkedblade.net on 2016-04-11)
  8. [CSSWG] Minutes Santa Clara F2F 2014-10-27 Part I: CSS3 UI, ::selection and Pseudo-Elements issues (from daelcss@gmail.com on 2014-12-17)
  9. [css-grid] sum of fractions < 1 (from mats@mozilla.com on 2014-04-26)
  10. [selectors][css3-ui][css-ui] Re: Please reinstate the ::selection spec (from tantek@cs.stanford.edu on 2013-12-11)
  11. 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)
  12. 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)
  13. 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)
  14. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  15. 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


Alan Stearns <stearns@adobe.com>, Rossen Atanassov <ratan@microsoft.com>, Chairs, Chris Lilley <chris@w3.org>, Fuqiao Xue <xfq@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: 30.html,v 1.1 2020/01/17 10:40:04 carcone Exp $