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:
  1. Re: [css3-ui] grab & grabbing cursor (issue 26) (from florian@rivoal.net on 2014-11-19)
  2. Re: [css3-ui] grab & grabbing cursor (issue 26) (from tantek@cs.stanford.edu on 2014-11-19)
  3. [css3-ui] grab & grabbing cursor (issue 26) (from florian@rivoal.net on 2014-11-18)
  4. Re: [css-masking] reference boxes (from dschulze@adobe.com on 2013-12-17)
  5. Re: Multiple baseline question (from dbaron@dbaron.org on 2012-07-23)
  6. Re: [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from jackalmage@gmail.com on 2012-03-21)
  7. [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from fantasai.lists@inkedblade.net on 2012-03-21)
  8. [CSSWG] Minutes and Resolutions 2010-06-30 (from fantasai.lists@inkedblade.net on 2010-07-01)
  9. RE: Agenda conf call 02-jun-2010 (from sylvaing@microsoft.com on 2010-06-02)
  10. Re: [CSS21] Height of cell box should not be influenced by 'height' (from dbaron@dbaron.org on 2010-06-01)
  11. Agenda conf call 02-jun-2010 (from peter.linss@hp.com on 2010-06-01)
  12. Agenda conf call 26-may-2010 (from daniel.glazman@disruptive-innovations.com on 2010-05-25)
  13. Agenda conf call 19-may-2010 (from peter.linss@hp.com on 2010-05-18)
  14. [CSSWG] Minutes and Resolutions 2010-05-12 (from fantasai.lists@inkedblade.net on 2010-05-16)
  15. RE: Agenda conf call 12-may-2010 (from szilles@adobe.com on 2010-05-12)
  16. Re: Agenda conf call 12-may-2010 (from singer@apple.com on 2010-05-11)
  17. Agenda conf call 12-may-2010 (from daniel.glazman@disruptive-innovations.com on 2010-05-11)
  18. [CSSWG] Minutes and Resolutions Cupertino F2F Monday 2010-03-29 (from fantasai.lists@inkedblade.net on 2010-04-08)
  19. Re: [CSS21] Height of cell box should not be influenced by 'height' (from dbaron@dbaron.org on 2010-03-25)
  20. Re: [css3-color] Interaction of 'opacity' and z-ordering rules (from hyatt@apple.com on 2008-05-14)
  21. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  22. [css3-color] Interaction of 'opacity' and z-ordering rules (from dbaron@dbaron.org on 2008-05-13)
  23. backgrounds and borders open issues (from fantasai@inkedblade.net on 2008-05-13)
  24. 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

Elika Etemad, 14 Aug 2008, 17:38:26

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

Bert Bos, 4 Apr 2008, 16:58:08

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'

4 Apr 2008, 16:59:53

Status changed to 'open'

4 Apr 2008, 16:59:53

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.

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.'

14 May 2008, 03:15:58

Status changed to 'closed'

Elika Etemad, 14 Aug 2008, 17:38:26


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.325 2014-09-10 21:42:02 ted Exp $