Skip to content

[css-gaps-1] Gap intersections for multicol containers #12784

@jav099

Description

@jav099

Background
We resolved csswg-drafts#12084 to allow intersections at the border of spanners when gaps are present. This enabled us to not paint decorations behind spanners, which is the current column-rule behavior.

Open question
For containers using column-wrap: wrap, what default behavior should gap decorations have? The reference diagram is helpful context.

We see two plausible approaches:

Option 1 — Intersections at multicol line boundaries

Intersections are placed at the start/end of each multicol line. Decorations do not span the gaps created by column-wrap unless the author opts in (e.g., via rule-outset).

Example:
Image

Option 2 — Intersections at the center of row gap/column gap crossings

Intersections are placed at the midpoint where a row gap crosses a column gap. Decorations effectively “bridge” row gaps by default—similar to how a grid might behave—so rules continue across those breaks. While visually coherent, this may be less aligned with multicol semantics.

Example:
Image

It's worth to note, that you can achieve Option 1 visual behavior even if Option 2 is the default, by using column-rule-break: intersection and column-rule-outset: 0.


Request for feedback
We’d appreciate input, especially from folks steeped in multicol and from web authors, on which of these should be the default behavior:

  • Should decorations stop at column-wrap breaks unless explicitly extended (Option 1)?
  • Or should they span across by default, meeting at row/column gap centers (Option 2)?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Thursday Morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions