ISSUE-37: Can a slot have a border and if so, where is it drawn?

slot border

Can a slot have a border and if so, where is it drawn?

State:
RAISED
Product:
CSS3 Template Layout
Raised by:
Bert Bos
Opened on:
2008-04-17
Description:
Can a ':slot' have a 'border' property? What is the use case?

If it can, where is the border drawn?

1) Borders collapse (like for tables) and are drawn centered on the edge of the slot (as for multi-column). Note that borders may thus overlap content. The template element itself also has a border, which doesn't collapse with the slots, because there is a padding between them.

2) Borders are drawn individually for each slot and reduce the size of the slot available for content. In that case, is there a need for the 'border-spacing' property?
Related Actions Items:
No related actions
Related emails:
  1. [CSSWG] Minutes Seattle F2F 2017-01-11 Part I: FX Breakout - Transforms, Whitespace in a custom property in a variable reference, Geometry Interfaces (from daelcss@gmail.com on 2017-02-13)
  2. Re: [css3-ui] applicability of 'resize' when one of overflow-x/-y is visible (issue 37) (from jackalmage@gmail.com on 2014-11-24)
  3. [css3-ui] applicability of 'resize' when one of overflow-x/-y is visible (issue 37) (from florian@rivoal.net on 2014-11-24)
  4. Re: [css3-images] rtl/ltr annotation (from kennyluck@csail.mit.edu on 2012-03-24)
  5. Re: [css3-images] rtl/ltr annotation (from fantasai.lists@inkedblade.net on 2012-03-23)
  6. Re: [css3-images] rtl/ltr annotation (from fantasai.lists@inkedblade.net on 2012-03-21)
  7. Re: [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from jackalmage@gmail.com on 2012-03-21)
  8. [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from fantasai.lists@inkedblade.net on 2012-03-21)
  9. CSS WG weekly meeting minutes 2008-04-16 (from ming.gao@hp.com on 2008-04-22)
  10. ISSUE-37 (slot border): Can a slot have a border and if so, where is it drawn? [CSS3 Template Layout] (from sysbot+tracker@w3.org on 2008-04-17)

Related notes:

No additional notes.

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: 37.html,v 1.1 2020/01/17 10:41:06 carcone Exp $