ISSUE-26: Percentage values on 'border-width'
% border-width
Percentage values on 'border-width'
- State:
- CLOSED
- Product:
- CSS3 Backgrounds and Borders
- Raised by:
- Bert Bos
- Opened on:
- 2008-04-04
- Description:
- 'Margin' and 'width' allow percentages (of the containing block) and the Box module proposes to extend 'padding' with percentages as well. If only for consistency, it would make sense to allow percentages on borders, too.
The current draft defines 'border-width' that way: <length> | <percentage> | thin | medium | thick
Note that percentage borders wouldn't work very well in cases where percentages can't be resolved. - Related Actions Items:
- No related actions
- Related emails:
- Re: Multiple baseline question (from dbaron@dbaron.org on 2012-07-23)
- Re: [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from jackalmage@gmail.com on 2012-03-21)
- [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from fantasai.lists@inkedblade.net on 2012-03-21)
- [CSSWG] Minutes and Resolutions 2010-06-30 (from fantasai.lists@inkedblade.net on 2010-07-01)
- RE: Agenda conf call 02-jun-2010 (from sylvaing@microsoft.com on 2010-06-02)
- Re: [CSS21] Height of cell box should not be influenced by 'height' (from dbaron@dbaron.org on 2010-06-01)
- Agenda conf call 02-jun-2010 (from peter.linss@hp.com on 2010-06-01)
- Agenda conf call 26-may-2010 (from daniel.glazman@disruptive-innovations.com on 2010-05-25)
- Agenda conf call 19-may-2010 (from peter.linss@hp.com on 2010-05-18)
- [CSSWG] Minutes and Resolutions 2010-05-12 (from fantasai.lists@inkedblade.net on 2010-05-16)
- RE: Agenda conf call 12-may-2010 (from szilles@adobe.com on 2010-05-12)
- Re: Agenda conf call 12-may-2010 (from singer@apple.com on 2010-05-11)
- Agenda conf call 12-may-2010 (from daniel.glazman@disruptive-innovations.com on 2010-05-11)
- [CSSWG] Minutes and Resolutions Cupertino F2F Monday 2010-03-29 (from fantasai.lists@inkedblade.net on 2010-04-08)
- Re: [CSS21] Height of cell box should not be influenced by 'height' (from dbaron@dbaron.org on 2010-03-25)
- Re: [css3-color] Interaction of 'opacity' and z-ordering rules (from hyatt@apple.com on 2008-05-14)
- [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
- [css3-color] Interaction of 'opacity' and z-ordering rules (from dbaron@dbaron.org on 2008-05-13)
- backgrounds and borders open issues (from fantasai@inkedblade.net on 2008-05-13)
- ISSUE-26 (% border-width): Percentage values on 'border-width' [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
Related notes:
Defining percentage borders is complicated for tables
and would require defaulting to some value (medium?) in cases where the
percentage cannot be resolved. Since we have no compelling use cases
for percentage borders, we plan to drop percentage border-widths in the
next draft.
http://www.w3.org/blog/CSS/2008/06/09/resolutions_28
Changelog:
Created issue 'Percentage values on 'border-width'' nickname % border-width owned by Bert Bos on product CSS3 Backgrounds and Borders, description ''Margin' and 'width' allow percentages (of the containing block) and the Box module proposes to extend 'padding' with percentages as well. If only for consistency, it would make sense to allow percentages on borders, too.
The current draft defines 'border-width' that way: <length> | <percentage> | thin | medium | thick' non-public
Description changed to ''Margin' and 'width' allow percentages (of the containing block) and the Box module proposes to extend 'padding' with percentages as well. If only for consistency, it would make sense to allow percentages on borders, too.
Indeed, if we want 'calc()' to work on borders, then percentages are needed, because 'calc()' includes them.
The current draft defines 'border-width' that way: <length> | <percentage> | thin | medium | thick'
Status changed to 'open'
4 Apr 2008, 16:59:53Description changed to ''Margin' and 'width' allow percentages (of the containing block) and the Box module proposes to extend 'padding' with percentages as well. If only for consistency, it would make sense to allow percentages on borders, too.
The current draft defines 'border-width' that way: <length> | <percentage> | thin | medium | thick
Note that percentage borders wouldn't work very well in cases where percentages can't be resolved.'
Status changed to 'closed'
Elika Etemad, 14 Aug 2008, 17:38:26