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:
- 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)
- 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)
- 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)
- [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
- 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:42Display change log